Exemplo n.º 1
0
    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());
    }
Exemplo n.º 2
0
 public void GameSystemSetup()
 {
     DouduckGameCore.AddModule <GameObjectControlModule> ();
 }