Exemplo n.º 1
0
    public void ConstructBuilding()
    {
        BuildingStatus status = PlayerBuilding.Instance.GetBuildingStatus(currentData.BuildingCode);

        status.Grade = selectedGrade;

        currentBuilder.CreateNewBuilding(status.BuildingCode);
        UpgradePanel.ClosePanel();
    }