/// <summary> /// Calls the Awake method of the current state. /// </summary> void Awake() { if (CurrentState != null) { CurrentState.Awake(); } }