Skip to main content

EventAtPosition

A class in Root.Township, the global namespace.

Fires a transform event with its own transform, so wiring can spawn something at this object's position.

Constructors​

MemberWhat it is
EventAtPosition()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private TransformEvent transformEventEvent that receives the transform.

Methods​

MemberWhat it is
void CallEvent()Invokes the event with this transform.