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