public void ChangeState(State_Script newState) { CurrentState.Exit(); CurrentState = newState; newState.Enter(); }
public void Initialize(State_Script startingState) { CurrentState = startingState; startingState.Enter(); }