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