Beispiel #1
0
 public override void OnUpdate()
 {
     if (inputBuffer.Match(KeyCode.K))
     {
         animator.SetTrigger("low_kick");
     }
 }
Beispiel #2
0
 public override void OnUpdate()
 {
     if (inputBuffer.Match(KeyCode.J))
     {
         animator.SetTrigger("punch");
     }
 }