public void GameStart() { GameObjectControlModule controller_ = DouduckGameCore.GetModule <GameObjectControlModule> (); GameObjectSet[] sets_ = GameObject.FindObjectsOfType <GameObjectSet> (); for (int i = 0; i < sets_.Length; i++) { controller_.AddGameObjectSet(sets_[i]); sets_[i].Hide(); } DouduckGameCore.AddModule <GameFlowModule> ().TransTo(new MainMenuState()); }
public void GameSystemSetup() { DouduckGameCore.AddModule <GameObjectControlModule> (); }