void SwitchState(E_State InState) { if (null != State) { State.Deactivate(); } State = States[InState]; State.Activate(Owner.Transform); }
public void Activate() { State = States[E_State.ThirdPerson]; State.Activate(transform); WaitForEndOfAction = null; }