It's the 15th anniversary of Google Maps Platform - Check out the latest news and announcements

Google.Maps.Event.ListenerCountingUnityEvent< T >

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.