|
|
Action< OnlineMapsBuildingBase > | OnClick |
| | Events that occur when user click on the building.
|
| |
|
Action< OnlineMapsBuildingBase > | OnDispose |
| | Events that occur when dispose building.
|
| |
|
Action< OnlineMapsBuildingBase > | OnPress |
| | Events that occur when user press on the building.
|
| |
|
Action< OnlineMapsBuildingBase > | OnRelease |
| | Events that occur when user release on the building.
|
| |
|
Bounds | boundsCoords |
| | Geographical coordinates of the boundaries of the building.
|
| |
|
Vector2 | centerCoordinates |
| | Geographical coordinates of the center point.
|
| |
|
string | id |
| | ID of building.
|
| |
|
Vector2 | initialSizeInScene |
| | Initial size of building in scene.
|
| |
|
float | initialZoom |
| | Zoom, in which this building was created.
|
| |
|
MetaInfo[] | metaInfo |
| | Array of building meta key-value pair.
|
| |
|
float | perimeter |
| | Perimeter of building.
|
| |
|
OnlineMapsOSMWay | way |
| | Building way.
|
| |
|
List< OnlineMapsOSMNode > | nodes |
| | Building nodes.
|
| |
| enum | RoofType { dome
, flat
} |
| | Type the building's roof. More...
|
| |
|
void | OnBasePress () |
| | This method is called when you press a building.
|
| |
|
void | OnBaseRelease () |
| | This method is called when you release a building.
|
| |
|
void | OnMouseDown () |
| | This method is called when you mouse down on a building.
|
| |
|
void | OnMouseUp () |
| | This method is called when you mouse up on a building.
|
| |
| static bool | CheckIgnoredBuildings (OnlineMapsOSMWay way) |
| | Checks ignore the building.
|
| |
| static GameObject | CreateGameObject (OnlineMapsBuildings container, string id) |
| | Creates a new child GameObject, with the specified name.
|
| |
| static List< Vector3 > | GetLocalPoints (List< OnlineMapsOSMNode > nodes, OnlineMapsBuildings container) |
| | Converts a list of nodes into an list of points in Unity World Space.
|
| |
|
Collider | buildingCollider |
| | Collider of building.
|
| |
|
bool | hasErrors = false |
| | Indicates that the building has an error.
|
| |
Built-in buildings generator.