// Use this for initialization void Start() { AI = transform.GetComponent <Player> (); /*playerFinder = transform.GetComponent<PlayerFinder> (); * player = playerFinder.getPlayerTransform ();*/ AimController = transform.GetComponent <AIAimController> (); }
void Start() { controller = transform.GetComponent <AIController> (); aimController = transform.GetComponent <AIAimController> (); }