Пример #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>();
 }