Exemplo n.º 1
0
 private void Awake()
 {
     ma        = GameObject.Find("Monster").GetComponent <MonsterAction>();
     healtime  = 4;
     HealHider = GameObject.Find("HealHider");
     HealHider.SetActive(false);
 }
Exemplo n.º 2
0
 private void Awake()
 {
     ma       = GameObject.Find("Monster").GetComponent <MonsterAction>();
     BegHider = GameObject.Find("BegHider");
     BegHider.SetActive(true);
     begshown = false;
     isActive = true;
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Awake()
 {
     ma = GameObject.Find("Monster").GetComponent <MonsterAction>();
     //currentManagerValue = 75;
     maxManagerValue = 100;
     baramount.value = (float)currentManagerValue / maxManagerValue;
     managernum.text = "Manager Meter: " + (baramount.value * 100f).ToString();
     Changed         = false;
 }
Exemplo n.º 4
0
 private void Awake()
 {
     ma               = GameObject.Find("Monster").GetComponent <MonsterAction>();
     currentHealth    = 100;
     maxHealth        = 100;
     healtnum.text    = "Health: " + (healthFill.value * 100f).ToString();
     healthFill.value = (float)currentHealth / maxHealth;
     Changed          = false;
 }
Exemplo n.º 5
0
 private void Awake()
 {
     ma = GameObject.Find("Monster").GetComponent <MonsterAction>();
 }