TG9six 03a642d635 first push
first push
2025-09-06 17:17:39 +04:00

24 lines
411 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LMG_Bullets : MonoBehaviour
{
private Animator anim;
private void Awake()
{
anim = GetComponent<Animator>();
}
// Update is called once per frame
void Update()
{
if (Player.Instance.hasFiredWeapon)
{
anim.Play("LMG_BulletMovement");
}
}
}