public stateEditorBase() { m_StateChanger = new stateChanger(); m_StateList = new List <baseState>(); InitStates(); }
/// <summary> /// starts before the start function. /// </summary> protected void Awake() { m_StateChanger = new stateChanger(); m_StateList = new List <baseState>(); m_CurrentState = AddState(new stateEmptyExample(gameObject), "Start"); }