Example #1
0
 /// <summary>
 /// On Start we initialize our Decision
 /// </summary>
 protected virtual void Start()
 {
     _brain = this.gameObject.GetComponent <AIBrain>();
     Initialization();
 }
Example #2
0
 /// <summary>
 /// On Awake we grab our AIBrain
 /// </summary>
 protected virtual void Awake()
 {
     _brain = this.gameObject.GetComponentInParent <AIBrain>();
 }