//场景更新 public void stateUpdate() { /* * if (Application.isLoadingLevel) * return; * * if (m_state != null && m_bRunBegin == false) * { * * m_state.stateBegin(); //执行状态(场景)初始化 * m_bRunBegin = true; * Debug.Log("StateBeginToRun " + m_bRunBegin.ToString()); * } */ if (m_state != null && m_bRunBegin == true) { m_state.stateUpdate(); } }