void Start() { if (CurrentState == null) { CurrentState = _availableStates.Values.First(); } }
public void SwitchStateTo(Type nextState) { CurrentState = _availableStates[nextState]; }