Exemplo n.º 1
0
 public void AssignToConstruction(EC_Base assignedBase)
 {
     if (state == WorkerState.Idle)
     {
         PlayerManager.Instance.RemoveIdleWorker(this);
     }
     this.assignedBase = assignedBase;
     state             = WorkerState.Construction;
     constructionState = ConstructionState.Idle;
     nextScanTime      = Time.time;
     ChangeAcessories();
 }
Exemplo n.º 2
0
 public void SetBaseBuilding(EC_Base playerBase)
 {
     this.playersBaseLocation = playerBase.transform;
     this.playerBase          = playerBase;
 }