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