PhysicsLayerAttributeDrawer Class

Definition

Renders the physics layer dropdown based on the current layers set in the Tag Manager.

public ref class PhysicsLayerAttributeDrawer sealed : UnityEditor::PropertyDrawer
[UnityEditor.CustomPropertyDrawer(typeof(Microsoft.MixedReality.Toolkit.Physics.PhysicsLayerAttribute))]
public sealed class PhysicsLayerAttributeDrawer : UnityEditor.PropertyDrawer
[<UnityEditor.CustomPropertyDrawer(typeof(Microsoft.MixedReality.Toolkit.Physics.PhysicsLayerAttribute))>]
type PhysicsLayerAttributeDrawer = class
    inherit PropertyDrawer
Public NotInheritable Class PhysicsLayerAttributeDrawer
Inherits PropertyDrawer
Inheritance
UnityEditor.PropertyDrawer
PhysicsLayerAttributeDrawer
Attributes
UnityEditor.CustomPropertyDrawerAttribute

Constructors

PhysicsLayerAttributeDrawer()

Methods

OnGUI(Rect, SerializedProperty, GUIContent)

Applies to