Example #1
0
 // Use this for initialization
 void Start()
 {
     button.isEnabled = transform.parent.GetComponent <UIButton>().isEnabled;
     GameController.GetInstance().offensive = true;
 }