PhysicsShape.ContactId
The unique Id of the contact. This contact is volatile and may be destroyed automatically when the world is modified or simulated therefore it should always be checked for validity.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Struct
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
- Implements: IEquatable<ContactId>
public readonly struct PhysicsShape.ContactId : IEquatable<PhysicsShape.ContactId>