public virtual void LogicUpdate() { if (IsDead()) { _stateMachine.ChangeState(_characterController.Dying); } }
//state changers public void NewStateCallback(ICharacterState newState) { stateMachine.ChangeState(newState); }
public virtual void LogicUpdate() { if (IsDead()) { _stateMachine.ChangeState(_characterController.Dying); } }
//state changers public void NewStateCallback(ICharacterState newState) { stateMachine.ChangeState(newState); }