24 lines
411 B
C#
Raw Normal View History

2025-09-06 17:17:39 +04:00
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");
}
}
}