Esempio n. 1
0
 private void Awake()
 {
     UIState.Building.OnChange += building => BuildingPanel.SetState(building != null);
     UIState.Agent.OnChange    += agent => AgentPanel.SetState(agent != null);
     UIState.Group.OnChange    += group => GroupPanel.SetState(group != null);
 }