Exemplo n.º 1
0
 // Start is called on initialization
 void Start()
 {
     fireTrigger = GetComponentInChildren <FireTriggerScript> ();
     health      = GetComponent <Health> ();
     health.DamageTakenListener += this.OnDamageTaken;
 }
Exemplo n.º 2
0
 // Start is called on initialization
 void Start()
 {
     fireTrigger = GetComponentInChildren<FireTriggerScript> ();
     health = GetComponent<Health> ();
     health.DamageTakenListener += this.OnDamageTaken;
 }