기술 자료

Unity Engine

Unity Engine

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분최근 업데이트: 한 달 전

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsShape.ContactId

Properties

Property

Description

contactGet the contact.
isValidCheck if the contact is valid or not.