文档

Unity Engine

Unity Engine

OnContactEnd2D(ContactEndEvent)

Called when a PhysicsEvents.ContactEndEvent for the object occurs. This will always be called on the main-thread after the simulation has finished.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
void OnContactEnd2D(PhysicsEvents.ContactEndEvent endEvent)

Parameters

The event that occurred.