Exemple #1
0
        public stateEditorBase()
        {
            m_StateChanger = new stateChanger();
            m_StateList    = new List <baseState>();

            InitStates();
        }
Exemple #2
0
        /// <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");
        }