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.

Google.Maps.Event.ListenerCountingUnityEvent

A subclass of UnityEvent that keeps track of the number of runtime-added event listeners.

Summary

Details
Template Parameters
T
The argument type used in callbacks.

Inheritance

Inherits from: UnityEvent< T >
Direct Known Subclasses:Google.Maps.Event.AlphaMapsNeedPaintEvent, Google.Maps.Event.DidCreateAreaWaterEvent, Google.Maps.Event.DidCreateExtrudedStructureEvent, Google.Maps.Event.DidCreateIntersectionEvent, Google.Maps.Event.DidCreateLineWaterEvent, Google.Maps.Event.DidCreateModeledStructureEvent, Google.Maps.Event.DidCreateRegionEvent, Google.Maps.Event.DidCreateSegmentEvent, Google.Maps.Event.DidCreateTerrainEvent, Google.Maps.Event.DidPaintTerrainEvent, Google.Maps.Event.FeatureMaskPreRenderEvent, Google.Maps.Event.MapLoadErrorEvent, Google.Maps.Event.WillCreateAreaWaterEvent, Google.Maps.Event.WillCreateExtrudedStructureEvent, Google.Maps.Event.WillCreateFeatureMaskTextureEvent, Google.Maps.Event.WillCreateIntersectionEvent, Google.Maps.Event.WillCreateLineWaterEvent, Google.Maps.Event.WillCreateModeledStructureEvent, Google.Maps.Event.WillCreateRegionEvent, Google.Maps.Event.WillCreateSegmentEvent, Google.Maps.Event.WillCreateTerrainEvent

Public functions

AddListener(UnityAction< T > call)
new void
Adds a listener.
RemoveListener(UnityAction< T > call)
new void
Removes a listener.

Public functions

AddListener

new void AddListener(
  UnityAction< T > call
)

Adds a listener.

Details
Parameters
call
The callback.

RemoveListener

new void RemoveListener(
  UnityAction< T > call
)

Removes a listener.

Details
Parameters
call
The callback to remove.