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