NOTICE: Google Maps Platform gaming services is deprecated as of October 18, 2021. Current users will have continued access until December 31, 2022. During this time, we will continue to provide support and fixes to major bugs and outages. See the Gaming Services Transition Guide for resources to help you plan the next steps for your projects.
Stay organized with collections Save and categorize content based on your preferences.

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
terrain
The UnityTerrain that was created.