ドキュメント

Unity Engine

Unity Engine

PhysicsCallbacks.ContactCallbackTargets.ContactBeginTarget

Contact begin event target for callbacks.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Properties

Property

Description

beginEventThe event.
shapeTargetAThe callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.ContactBeginEvent.shapeA. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target.
shapeTargetBThe callback target (PhysicsShape.callbackTarget) associated with PhysicsEvents.ContactBeginEvent.shapeB. This returns any implemented PhysicsCallbacks.IContactCallback or NULL if not implemented or no target.