예제 #1
0
 private void Start()
 {
     time      = 20000 * Time.deltaTime;
     movement  = gameObject.GetComponent <IAMovementController>();
     behaviors = GetComponents <AiBehavior>();
     launched  = false;
     StartCoroutine(pause());
 }
예제 #2
0
 public void Start()
 {
     controller = GetComponent <IAMovementController>();
     myMap      = GameObject.FindGameObjectWithTag("Map").GetComponent <Map>();
 }