// Use this for initialization void Start() { animationControler = gameObject.GetComponent <AnimationControler>(); cityControler = gameObject.GetComponent <CityControler>(); stoped = false; distanceControler = gameObject.GetComponent <DistanceControler>(); }
void Start() { pathControler = gameObject.GetComponent <PathControler>(); cityControler = gameObject.GetComponent <CityControler>(); acoControler = gameObject.GetComponent <AcoControler>(); animationControler = gameObject.GetComponent <AnimationControler>(); dataInit(); ui = player.GetComponent <PlayerUiControler>(); }
// Use this for initialization void Start() { timeLeft = lengthOfAnimation; cityControler = gameObject.GetComponent <CityControler>(); acoControler = gameObject.GetComponent <AcoControler>(); pathControler = gameObject.GetComponent <PathControler>(); pheromons = null; antPefab = Resources.Load <GameObject>("CityTestScene/Prefab/Ant"); distanceControler = gameObject.GetComponent <DistanceControler>(); }
// Use this for initialization void Start() { cityControler = gameObject.GetComponent <CityControler>(); c_ = new Color(1, 0, 0, 1); }
// Use this for initialization void Start() { cc = GetComponent <CityControler>(); }