ドキュメント

Unity Engine

Unity Engine

SendContactCallbacks()

Send all current PhysicsWorld.contactBeginEvents and PhysicsWorld.contactEndEvents where either of the PhysicsShape involved are valid (see PhysicsShape.isValid ) and have a callback target assigned (see PhysicsShape.callbackTarget ). Only callback targets that implement PhysicsCallbacks.IContactCallback will be called. This is called automatically every simulation step. This must be called on the main thread.
読み終わるまでの所要時間 1 分最終更新 22日前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public void SendContactCallbacks()