Exemple #1
0
 public void HandleMissive(GunInputEvent missive)
 {
     if (gameObject.GetComponentInParent <PistolSkill>().Cooldown.IsComplete)
     {
         animator.SetTrigger("GunAttack");
     }
 }
Exemple #2
0
 public void HandleMissive(GunInputEvent missive)
 {
     gameObject.GetComponentSafely <PistolSkill>().Use(gameObject);
 }