Google. Maps. Event. DidCreateTerrainArgs
Event arguments for Terrain DidCreate events.
Summary
Constructors and Destructors |
|
---|---|
DidCreateTerrainArgs(UnityTerrain terrain)
Constructor.
|
Public attributes |
|
---|---|
Terrain
|
readonly UnityTerrain
The UnityTerrain that was created.
|
Public attributes
Terrain
readonly UnityTerrain Terrain
The UnityTerrain that was created.
Avoid storing a reference to this UnityTerrain object outside of the event handler. As part of map unloading, UnityTerrain tiles are destroyed as opposed to de-referenced and garbage collected, resulting in errors if a reference to this object is then accessed. This is a consequence of some Unity objects being backed by unmanaged native objects.
Public functions
DidCreateTerrainArgs
DidCreateTerrainArgs( UnityTerrain terrain )
Constructor.
Details | |||
---|---|---|---|
Parameters |
|