ThemeInspector Class

Definition

Inspector for themes, and used by Interactable

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

Constructors

ThemeInspector()

Fields

states
theme
themeDefinitions
themeStates

Methods

AddThemeDefinition()
ClearHistoryCache(Int32)
DeleteThemeDefinition(UInt32)
LoadThemeDefinitionHistory(Int32, Type)
OnEnable()
OnInspectorGUI()
RenderDeleteButton(Int32)
RenderStates()

draw the states property field for assigning states Set the default state if one does not exist

RenderTheme()
RenderThemeDefinitions()
RenderValue(SerializedProperty, GUIContent, ThemePropertyTypes)

Render a single property value

SaveThemeDefinitionHistory(Int32, Type)

Applies to