コード例 #1
0
 public void StrongAtKey()
 {
     if (guardControll.InGuard || DamageControll.InDamage)
     {
         return;
     }
     AttackControll.InputKey(PlayerKeyCode.Y);
 }
コード例 #2
0
 public void ChangeVerticalAxis(float delta)
 {
     CurrentMoveCotroll.VerticalMovement = delta;
     if (delta > 0)
     {
         AttackControll.InputKey(PlayerKeyCode.UArrow);
     }
     else if (delta < 0)
     {
         AttackControll.InputKey(PlayerKeyCode.DArrow);
     }
 }
コード例 #3
0
 public void ChangeHorizontalAxis(float delta)
 {
     CurrentMoveCotroll.HorizontalMovement = delta;
     if (delta > 0)
     {
         AttackControll.InputKey(PlayerKeyCode.RArrow);
     }
     else if (delta < 0)
     {
         AttackControll.InputKey(PlayerKeyCode.LArrow);
     }
 }
コード例 #4
0
 public void JumpKey()
 {
     if (guardControll.InGuard || DamageControll.InDamage)
     {
         return;
     }
     if (!AttackControll.InAttack)
     {
         CurrentMoveCotroll.JumpStart();
     }
     AttackControll.InputKey(PlayerKeyCode.A);
 }