// Use this for initialization
    void Start()
    {
        AI = transform.GetComponent <Player> ();

        /*playerFinder = transform.GetComponent<PlayerFinder> ();
         * player = playerFinder.getPlayerTransform ();*/

        AimController = transform.GetComponent <AIAimController> ();
    }
예제 #2
0
 void Start()
 {
     controller    = transform.GetComponent <AIController> ();
     aimController = transform.GetComponent <AIAimController> ();
 }