Exemple #1
0
 public StartConstructionEvent(BuildingIdentifier buildingIdentifier)
 {
     BuildingIdentifier = buildingIdentifier;
 }
Exemple #2
0
        void CreateButton(BuildingIdentifier buildingIdentifier)
        {
            BuildButton button = Instantiate(ButtonPrefab.gameObject, ButtonParent).GetComponent <BuildButton>();

            button.BuildingType = buildingIdentifier;
        }
Exemple #3
0
 public static PlayerBuildingModel GetBuildingWithIdentifier(BuildingIdentifier identifier)
 {
     return(prefabsByIdentifier[identifier]);
 }