예제 #1
0
    // Use this for initialization
    void Start()
    {
        aiScript       = GetComponent <AIScript> ();
        aiTurretScript = GameObject.FindGameObjectWithTag("StaticAI1").GetComponent <AITurretScript> ();

        arrayList = new float[4];
    }
 // Use this for initialization
 void Start()
 {
     aiTurretScript = GameObject.FindGameObjectWithTag("StaticAI1").GetComponent <AITurretScript> ();
 }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     range          = false;
     aiTurretScript = GetComponentInParent <AITurretScript> ();
 }