Google. Maps. Event. DidPaintTerrainArgs
Event arguments for Terrain DidPaint events.
Summary
Constructors and Destructors |
|
---|---|
DidPaintTerrainArgs(UnityTerrain terrain)
Constructor.
|
Public attributes |
|
---|---|
Terrain
|
readonly UnityTerrain
The UnityTerrain that was painted.
|
Public attributes
Terrain
readonly UnityTerrain Terrain
The UnityTerrain that was painted.
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
DidPaintTerrainArgs
DidPaintTerrainArgs( UnityTerrain terrain )
Constructor.
Details | |||
---|---|---|---|
Parameters |
|