Ejemplo n.º 1
0
    void Awake()
    {
        instance = this;
        Debug.Log("Game Awake()");

        hudWindow   = GameObject.Find("Hud");
        adminWindow = GameObject.Find("Admin");
        adminToggle = GameObject.Find("togAdmin").GetComponent <Toggle>();

        GameState.newGame = true;

        // Clear Static entities
        LayoutLogic.gameObjects.Clear();

        Sides.createSides();
        cardLayout.buildMesh();
        stepLogic.initSteps();
        playerLogic.initPlayers();
    }