InteractableInspector Class

Definition

C++
public ref class InteractableInspector : UnityEditor::Editor
Inheritance
UnityEditor.Editor
InteractableInspector
Attributes
UnityEditor.CanEditMultipleObjectsAttribute UnityEditor.CustomEditorAttribute

Constructors

Fields

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

Produit Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0