public void Start(Player pBot) { _currentbot = pBot; CheckHeal(); UpgradeUnits(); // usually wont happen, but if unit spawned is very low CheckHeal(); }
public void Start(Player pCurrentbot) { _currentbot = pCurrentbot; // search lane for enemies CheckLanes(); ArtificialIntelligenceController.Instance.Enemies.Sort(); SpawnUnits(); }
void Start() { this._player = GameObject.Find("Player").GetComponent<Player>(); }
void Awake() { Instance = this; //this.SpeedMultiplier = 500; this.ForwardVector = new Vector3(0, 0, 1); }