Пример #1
0
 public override void OnUpdate()
 {
     Events["DisplayResource"].active  = Events["DisplayResource"].guiActive = !ORSHeatMap.resourceIsDisplayed(resourceName);
     Events["DisplayResource"].guiName = "Display " + resourceName + " Heat Map";
     Events["HideResource"].active     = Events["HideResource"].guiActive = ORSHeatMap.resourceIsDisplayed(resourceName);
     Events["HideResource"].guiName    = "Hide " + resourceName + " Heat Map";
     ORSHeatMap.updatePlanetaryResourceMap();
 }
Пример #2
0
 public void HideResource()
 {
     ORSHeatMap.setDisplayedResource("");
 }
Пример #3
0
 public void DisplayResource()
 {
     ORSHeatMap.setDisplayedResource(resourceName);
 }