文档

Unity Engine

Unity Engine

OnContactBegin2D(ContactBeginEvent)

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

Definition

void OnContactBegin2D(PhysicsEvents.ContactBeginEvent beginEvent)

Parameters

The event that occurred.