Ejemplo n.º 1
0
        void OnCityBuildingHovered(CityBuildingHoverEvent e)
        {
            if (currentModel == null)
            {
                return;
            }

            CityBuildingModel cityBuilding = e.Building;

            if (cityBuilding == null)
            {
                cityBuilding = currentModel.AssignedBuilding;
            }

            ConfigureAndShowForModel(currentModel, cityBuilding);
        }
Ejemplo n.º 2
0
 void OnCityBuildingHovered(CityBuildingHoverEvent e)
 {
     UpdateOutlineColor(e.Building == LinkedModel);
 }
Ejemplo n.º 3
0
 private void Awake()
 {
     hoverEvent = new CityBuildingHoverEvent(null);
 }
 void OnCityBuildingHovered(CityBuildingHoverEvent e)
 {
     ConfigureForBuilding(e.Building);
 }