ドキュメント

Unity Engine

Unity Engine

SendTriggerCallbacks()

Send all current PhysicsWorld.triggerBeginEvents and PhysicsWorld.triggerEndEvents where either of the PhysicsShape involved are valid (see PhysicsShape.isValid ) and have a callback target assigned (see PhysicsShape.callbackTarget ). These events will only be created if one of the shape pairs has PhysicsShape.triggerEvents set to true. Only callback targets that implement PhysicsCallbacks.ITriggerCallback will be called. This will be called automatically if PhysicsWorld.autoTriggerCallbacks is true. This must be called on the main thread.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void SendTriggerCallbacks()