// Use this for initialization
 void Start()
 {
     virtualController = GetComponent <AIVirtualController>() as AIVirtualController;
     goals             = GetComponent <AIGoals> () as AIGoals;
     parentTransform   = this.transform.parent;
 }
Example #2
0
 void Start()
 {
     virtualController = GetComponent <AIVirtualController>() as AIVirtualController;
     TakeControlOfCharacter();
 }