Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     anim        = GetComponent <Animator>();
     cam         = FindObjectOfType <Camera>();
     audioSource = GetComponent <AudioSource>();
     weaponUI.SetBullets(ammo, totalAmmo);
 }