void Awake()
 {
     instance                    = this;
     minimapComponent            = GetComponent <Minimap>();
     productionHint              = GetComponent <ProductionHint>();
     selectProductionPanel       = GetComponent <SelectProductionTypePanel>();
     selectProductionNumberPanel = GetComponent <SelectProductionNumberPanel>();
     minimapSignal               = GetComponent <MinimapSignal>();
     carryingUnitList            = GetComponent <CarryingUnitList>();
     pauseMenu                   = GetComponent <PauseMenu>();
 }
Пример #2
0
 public void SetupWithController(SelectProductionTypePanel typePanel)
 {
     controllerPanel = typePanel;
 }