private void Start() { infoText = this.GetComponentInChildren <Text>(); backdrop = this.GetComponentInChildren <Image>(); infoText.enabled = false; backdrop.enabled = false; Defender defender = GetComponent <DefenderButton>().GetDefender(); string defenderInfo = defender.GetDefenderInfo(); string defenderCost = defender.GetDefenderCost().ToString(); string defenderHealth = defender.GetDefenderHealth(); infoText.text = defenderInfo + "\nCost: " + defenderCost + "\nHealth: " + defenderHealth; }