contactEndEvents
Get the contact end events from the last simulation. The PhysicsShape objects returned should be checked to see if they are valid before accessing as they may have been deleted since this event was produced (see PhysicsShape.isValid ). The PhysicsShape.Contact objects returned should be checked to
読み終わるまでの所要時間 1 分最終更新 11時間前
Definition
- Type: Property
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public ReadOnlySpan<PhysicsEvents.ContactEndEvent> contactEndEvents { get; }