void Start() { sceneStateManager = new SceneStateManager(); sceneStateManager.SetState(new StartState(sceneStateManager), false); }
// Use this for initialization void Start() { m_SceneStateManager.SetState(new MainState(m_SceneStateManager), "MainScene"); // 設定起始的場景 //m_SceneStateManager.SetState(new StartState(m_SceneStateManager), ""); }