Class PhysicsLayerAttributeDrawer
Renders the physics layer dropdown based on the current layers set in the Tag Manager.
Implements
PropertyDrawer
Namespace: Microsoft.MixedReality.Toolkit.Physics.Editor
Assembly: cs.temp.dll.dll
Syntax
public sealed class PhysicsLayerAttributeDrawer : PropertyDrawer, PropertyDrawer
Methods
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | position | |
| SerializedProperty | property | |
| GUIContent | label |
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | position | |
| SerializedProperty | property | |
| GUIContent | label |
Implements
PropertyDrawer