Exemplo n.º 1
0
    void Awake()
    {
        game     = GameObject.FindGameObjectWithTag("Game");
        menu     = GameObject.FindGameObjectWithTag("MainMenu");
        settings = GameObject.FindGameObjectWithTag("Settings");
        endGame  = GameObject.FindGameObjectWithTag("Game_end");

        blockCreator = GameObject.FindGameObjectWithTag("BlockArchitect").GetComponent <BlocksArchitect>();
        blockList    = GameObject.FindGameObjectWithTag("BlockList").GetComponent <BlocksList>();
    }
Exemplo n.º 2
0
 void Awake()
 {
     game         = GameObject.FindGameObjectWithTag("Game");
     blockCreator = GameObject.FindGameObjectWithTag("BlockArchitect").GetComponent <BlocksArchitect>();
 }
Exemplo n.º 3
0
 void Awake()
 {
     architect = GameObject.FindGameObjectWithTag("BlockArchitect").GetComponent <BlocksArchitect>();
     load();
 }