PhysicsUserDataInspector
Builds the UI Toolkit fields for a PhysicsUserData serialized property. The entity id is presented as the object it references, alongside the mask, float, int, long, Vector3Int, and bool slots. Add the returned element directly to embed the fields inline, or wrap it in a Foldout for a collapsible
Read time 1 minuteLast updated 3 hours ago
Definition
- Type: Class
- Namespace: Unity.U2D.Physics.Editor
- Assembly: UnityEditor
public static class PhysicsUserDataInspector
Static Methods
Method | Description |
|---|---|
| CreateFields | Create the editable fields for a PhysicsUserData property, with no wrapping foldout. |