Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsCallbacks.TriggerCallbackTargets.TriggerBeginTarget

Trigger begin event target for callbacks.
Read time 1 minuteLast updated 13 days ago

Definition

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

Properties

Property

Description

beginEventThe trigger begin 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.