// Use this for initialization
 void Start()
 {
     upgradeScript = (UpgradeButtonScript) transform.parent.gameObject.GetComponent("UpgradeButtonScript");
     label = GetComponent <UILabel> ();
 }
 // Use this for initialization
 void Start()
 {
     upgradeScript = (UpgradeButtonScript) gameObject.GetComponent("UpgradeButtonScript");
 }