InteractableInspector Class

Definition

public ref class InteractableInspector : UnityEditor::Editor
[UnityEditor.CanEditMultipleObjects]
[UnityEditor.CustomEditor(typeof(Microsoft.MixedReality.Toolkit.UI.Interactable))]
public class InteractableInspector : UnityEditor.Editor
[<UnityEditor.CanEditMultipleObjects>]
[<UnityEditor.CustomEditor(typeof(Microsoft.MixedReality.Toolkit.UI.Interactable))>]
type InteractableInspector = class
    inherit Editor
Public Class InteractableInspector
Inherits Editor
Inheritance
UnityEditor.Editor
InteractableInspector
Attributes
UnityEditor.CanEditMultipleObjectsAttribute UnityEditor.CustomEditorAttribute

Constructors

InteractableInspector()

Fields

actionId
canDeselect
canSelect
dimensionIndex
dimensions
enabled
enabledProperty
inputActionOptions
instance
isGlobal
profileList
resetOnDestroy
ShowEventReceiversPrefKey
ShowEventsPrefKey
ShowProfilesPrefKey
speechKeywordOptions
startDimensionIndex
statesProperty
voiceCommand
voiceCommands

Methods

AddEvent(Int32)
AddProfile(Int32)
CreateThemeAsset(String)
DrawDropDownProperty(Rect, SerializedProperty, String[], GUIContent)

Draws a popup UI with PropertyField type features. Displays prefab pending updates

GetDefaultInteractableStatesFile()
OnEnable()
OnInspectorGUI()
RemoveEvent(Int32, SerializedProperty)
RemoveProfile(Int32, SerializedProperty)
RenderBaseInspector()
RenderCustomInspector()
RenderGeneralSettings()
SpeechKeywordLookup(String, String[])
Obsolete.

Get the index of the speech keyword array item based on its name, pop-up field helper Skips the first item in the array (internal added blank value to turn feature off) and returns a 0 if no match is found for the blank value

TryGetInputActions(String[])

Get a list of Mixed Reality Input Actions from the input actions profile.

TryGetMixedRealitySpeechCommands(SpeechCommands[])

Try to get a list of speech commands from the MRTK/Input/SpeechCommands profile

TryGetSpeechKeywords(String[])
Obsolete.

Look for speech commands in the MRTK Speech Command profile Adds a blank value at index zero so the developer can turn the feature off.

Applies to