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>(); }
void Awake() { game = GameObject.FindGameObjectWithTag("Game"); blockCreator = GameObject.FindGameObjectWithTag("BlockArchitect").GetComponent <BlocksArchitect>(); }
void Awake() { architect = GameObject.FindGameObjectWithTag("BlockArchitect").GetComponent <BlocksArchitect>(); load(); }