Esempio n. 1
0
        public stateEditorBase()
        {
            m_StateChanger = new stateChanger();
            m_StateList    = new List <baseState>();

            InitStates();
        }
Esempio n. 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");
        }