/// <summary>
 /// On Start we grab our Health component
 /// </summary>
 protected virtual void Start()
 {
     _health = this.gameObject.GetComponent <Health>();
 }
Beispiel #2
0
 /// <summary>
 /// On init we grab our Health component
 /// </summary>
 public override void Initialization()
 {
     _health = _brain.gameObject.GetComponent <Health>();
 }