private void placeWizardTower() { gm.playConstructionSound(); //3 gameObject.GetComponent <SpriteRenderer>().enabled = false; wizard_tower = (GameObject) Instantiate(wizard_towerPrefab, transform.position, Quaternion.identity); //4 gm.SubCash(50); archer_select.GetComponentInChildren <Button>().enabled = false; archer_select.GetComponentInChildren <Image>().enabled = false; archer_select.GetComponentInChildren <Text>().enabled = false; wizard_select.GetComponentInChildren <Button>().enabled = false; wizard_select.GetComponentInChildren <Image>().enabled = false; wizard_select.GetComponentInChildren <Text>().enabled = false; splash_select.GetComponentInChildren <Button>().enabled = false; splash_select.GetComponentInChildren <Image>().enabled = false; splash_select.GetComponentInChildren <Text>().enabled = false; exit_select.GetComponentInChildren <Button>().enabled = false; exit_select.GetComponentInChildren <Image>().enabled = false; exit_select.GetComponentInChildren <Text>().enabled = false; archer_select = null; wizard_select = null; splash_select = null; exit_select = null; }