示例#1
0
    public void Select(BuildingSlot buildingSlot)
    {
        touchMode            = TouchMode.BUILDING_SELECTED;
        selectedBuildingSlot = buildingSlot;
        foreach (BuildingSlot buildingSlotToHide in buildingSlots)
        {
            buildingSlotToHide.HideIndicator();
        }
        selectedBuildingSlot.ShowIndicator();

        UIController.SetUpgradeButton(selectedBuildingSlot.child);
        UIController.SetPanel(UIController.Panel.BUILDING_SELECTED);
    }