meta info for data that does not change between instances of a building
can be used to compare buildings(is that building a silo?)
https://citybuilder.softleitner.com/manual/buildings
|
Building | GetPrefab (int index) |
|
int | GetPrefabIndex (MonoBehaviour prefab) |
|
GameObject | GetGhost (int index) |
|
virtual bool | CheckRequirements (Vector2Int point, BuildingRotation rotation) |
|
virtual bool | CheckBuildingRequirements (Vector2Int point, BuildingRotation rotation) |
|
virtual bool | CheckRoadRequirements (Vector2Int point, BuildingRotation rotation) |
|
virtual bool | CheckAvailability (Vector2Int point) |
|
virtual void | Prepare (Vector2Int point, BuildingRotation rotation) |
|
virtual IEnumerable< Vector2Int > | GetPoints (BuildingMetaData metaData) |
|
virtual IBuilding | Create (BuildingMetaData metaData, Transform parent) |
|
|
static T | GetKeyedObject< T > (string key) |
|