public void Attack() { _fsm.RunState((int)GhostState.Attack); if (_fsm.GetCurrentState() == Moves) { _fsm.FinishState(); } }
/* public void ApplyGravityScale () { * _rigidbody.gravityScale = 10; * }*/ public void ShieldAttack() { _fsm.RunState((int)StatsEnum.Shield_Attack); if (_fsm.GetCurrentState() == Moves) { _fsm.FinishState(); } }