Google.Maps.Event.DidCreateEventArgs< TM, TS >

The base class for DidCreate event arguments.

Summary

Inheritance

Direct Known Subclasses:Google.Maps.Event.DidCreateAreaWaterArgs, Google.Maps.Event.DidCreateExtrudedStructureArgs, Google.Maps.Event.DidCreateLineWaterArgs, Google.Maps.Event.DidCreateModeledStructureArgs, Google.Maps.Event.DidCreateRegionArgs, Google.Maps.Event.DidCreateSegmentArgs

Public attributes

GameObject
readonly GameObject
The newly created game object.
MapFeature
readonly TM
The immutable Feature.MapFeature that corresponds to the newly created game object. It contains all known type, geometry, and metadata information.
Style
readonly TS
The immutable Feature.Style.IStyle that was applied during GameObject creation.

Protected functions

DidCreateEventArgs(TM mapFeature, TS style, GameObject gameObject)
The DidCreateEventArgs class onstructor.

Public attributes

GameObject

readonly GameObject GameObject

The newly created game object.

MapFeature

readonly TM MapFeature

The immutable Feature.MapFeature that corresponds to the newly created game object. It contains all known type, geometry, and metadata information.

Style

readonly TS Style

The immutable Feature.Style.IStyle that was applied during GameObject creation.

Protected functions

DidCreateEventArgs

 DidCreateEventArgs(
  TM mapFeature,
  TS style,
  GameObject gameObject
)

The DidCreateEventArgs class onstructor.

Details
Parameters
mapFeature
The Feature.MapFeature associated with the newly created GameObject.
style
The style applied during GameObject creation.
gameObject
The newly created GameObject.