What problem does it solve?
Unity 6000.5's PhysicsCore2D API post-dates most AI training data, so code assistants often hallucinate member names or signatures when working with its Events and Callbacks system. This Skill provides an authoritative, auto-generated API reference so generated code matches the real API surface.
Core Features & Use Cases
- Complete API Reference: Lists every nested type, property, method signature, parameter, and return value for
PhysicsCallbacks and PhysicsEvents in Unity.U2D.Physics.
- Callback Interface Documentation: Covers
IContactCallback, ITriggerCallback, IPreSolveCallback, IContactFilterCallback, IBodyUpdateCallback, IJointThresholdCallback, and transform write callbacks, including threading and deadlock warnings.
- Event Struct Details: Documents
ContactBeginEvent, ContactEndEvent, TriggerBeginEvent, ContactHitEvent, PreSolveEvent, and related event payloads.
- Use Case: When implementing a contact callback in a Unity 6000.5 project, consult this Skill to get the exact
OnContactBegin2D(PhysicsEvents.ContactBeginEvent) signature and the requirement to dispose returned callback targets.
Quick Start
Ask the AI to write a Unity 6000.5 PhysicsCore2D script that implements a contact begin callback using the correct interface and event types.