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