special info for buildings that can have variable sizes
for example bridges in THREE, fields and storage areas in TOWN demo
https://citybuilder.softleitner.com/manual/buildings
|
virtual bool | CheckExpansionLimits (Vector2Int expansion) |
|
virtual bool | CheckExpandedRequirements (Vector2Int point, Vector2Int expansion, BuildingRotation rotation) |
|
virtual bool | CheckExpandedBuildingRequirements (Vector2Int point, Vector2Int expansion, BuildingRotation rotation) |
|
virtual bool | CheckExpandedRoadRequirements (Vector2Int point, Vector2Int expansion, BuildingRotation rotation) |
|
virtual void | PrepareExpanded (Vector2Int point, Vector2Int expansion, BuildingRotation rotation) |
|
override IBuilding | Create (DefaultBuildingManager.BuildingMetaData metaData, Transform parent) |
|
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) |
|
|
static T | GetKeyedObject< T > (string key) |
|
◆ Create()