Esempio n. 1
0
		public void Start () {
			//Cache the Main Camera
			cam = Camera.main;
			ais2 = FindObjectsOfType<AIPath>();
			ais3 = FindObjectsOfType<AILerp>();

			useGUILayout = false;
		}
Esempio n. 2
0
		public void Start () {
			//Cache the Main Camera
			cam = Camera.main;
			ais2 = FindObjectsOfType(typeof(AIPath)) as AIPath[];
		}
	void Start()
	{
		ais = FindObjectsOfType(typeof(AIPath)) as AIPath[];
	}
Esempio n. 4
0
 public void Start()
 {
     this.cam = Camera.main;
     this.ais = (UnityEngine.Object.FindObjectsOfType(typeof(RichAI)) as RichAI[]);
     this.ais2 = (UnityEngine.Object.FindObjectsOfType(typeof(AIPath)) as AIPath[]);
 }