CreateFields(SerializedProperty)
Create the editable fields for a PhysicsUserData property, with no wrapping foldout.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics.Editor
- Assembly: UnityEditor
public static VisualElement CreateFields(SerializedProperty property)
Parameters
The serialized PhysicsUserData property to build the fields for.
Returns
Type | Description |
|---|---|
| VisualElement | A container with the referenced object field and the mask, float, int, long, Vector3Int, and bool fields. |