Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsCallbacks.TriggerCallbackTargets.TriggerEndTarget

Trigger end event target for callbacks.
Read time 1 minuteLast updated 10 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 (_callbackTarget) associated with _triggerShape. This returns any implemented PhysicsCallbacks.ITriggerCallback or NULL if not implemented or no target.
visitorShapeTargetThe callback target (_callbackTarget) associated with _visitorShape. This returns any implemented PhysicsCallbacks.ITriggerCallback or NULL if not implemented or no target.