Ejemplo n.º 1
0
 //场景切换
 public void setState(ISceneState state, string sceneName)
 {
     m_bRunBegin = false;
     loadScene(sceneName);
     if (m_state != null)
     {
         m_state.stateEnd();
     }
     m_state = state;
 }