Exemple #1
0
 public void Shoot()
 {
     if (GetComponent <Weapon>().Shoot(movement.GetBarrelPoint(), movement.GetCurrentRotation()))
     {
         if (anim != null)
         {
             anim.SetTrigger("Shoot");
         }
         LevelSettings.AddShotsCount(1);
         UpdateScoresView();
     }
 }