// Use this for initialization void Start() { MyArmy = GetComponent <Game>().MyArmy; MyTeam = MyArmy.GetComponent <Team>(); Limits = MyTeam.GetComponent <LimitsMan>(); GameTerrain = GetComponent <Game>().GameTerrain; }
// Use this for initialization void Start() { Limits = GetComponent <LimitsMan>(); Builder = GetComponent <BuildMan>(); MyTeam = GetComponent <Team>(); //StartCoroutine("BuildArmy"); InvokeRepeating("CheckBuild", 1, DelayBetweenBuilds); }