Documentation

Unity Engine


Unity Engine


PhysicsCallbacks.TriggerCallbackTargets.TriggerEndTarget

Trigger end event target for callbacks.
Read time 1 minuteLast updated 16 days ago

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsCallbacks.TriggerCallbackTargets.TriggerEndTarget

Properties

Property

Description

endEventThe trigger end event.
triggerShapeTargetThe callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.TriggerEndEvent.triggerShape. This returns any implemented PhysicsCallbacks.ITriggerCallback or NULL if not implemented or no target.
visitorShapeTargetThe callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.TriggerEndEvent.visitorShape. This returns any implemented PhysicsCallbacks.ITriggerCallback or NULL if not implemented or no target.