void Awake() { mainMenu = GameObject.FindGameObjectWithTag("MainMenu").GetComponent <MainMenu>(); serialization = GetComponent <BlocksSerialization>(); blockList = GameObject.FindGameObjectWithTag("BlockList").GetComponent <BlocksList>(); loadTiles(); }
void Awake() { serialization = GameObject.FindGameObjectWithTag("BlockArchitect").GetComponent <BlocksSerialization>(); blockSprite = Resources.Load <Sprite>("blockSprite"); }
void Awake() { serialization = GameObject.FindGameObjectWithTag("BlockArchitect").GetComponent <BlocksSerialization>(); blocksContainer = transform.GetChild(0).transform.GetChild(2); }
void Awake() { serialization = GameObject.FindGameObjectWithTag("BlockArchitect").GetComponent <BlocksSerialization>(); }
void Awake() { block = transform.GetChild(0).gameObject; serialization = GameObject.FindGameObjectWithTag("BlockArchitect").GetComponent <BlocksSerialization>(); deleteButton = transform.GetChild(1).GetComponent <Button>(); }