Düzenle

Aracılığıyla paylaş


KeyBindingInspector Class

Definition

Inspector for KeyBindings. This shows a simple dropdown list for selecting a binding, as well as a button for binding keys by pressing them.

public ref class KeyBindingInspector : UnityEditor::PropertyDrawer
[UnityEditor.CustomPropertyDrawer(typeof(Microsoft.MixedReality.Toolkit.Input.KeyBinding))]
public class KeyBindingInspector : UnityEditor.PropertyDrawer
[<UnityEditor.CustomPropertyDrawer(typeof(Microsoft.MixedReality.Toolkit.Input.KeyBinding))>]
type KeyBindingInspector = class
    inherit PropertyDrawer
Public Class KeyBindingInspector
Inherits PropertyDrawer
Inheritance
UnityEditor.PropertyDrawer
KeyBindingInspector
Attributes
UnityEditor.CustomPropertyDrawerAttribute

Constructors

KeyBindingInspector()

Methods

OnGUI(Rect, SerializedProperty, GUIContent)

Applies to