Modifier

Partager via


Theme Class

Definition

Theme scriptableObject for loading theme settings

public ref class Theme : UnityEngine::ScriptableObject
[UnityEngine.CreateAssetMenu(fileName="Theme", menuName="Mixed Reality Toolkit/Theme", order=1)]
public class Theme : UnityEngine.ScriptableObject
[UnityEngine.CreateAssetMenu(fileName="Theme", menuName="Mixed Reality/Toolkit/Theme", order=1)]
public class Theme : UnityEngine.ScriptableObject
[<UnityEngine.CreateAssetMenu(fileName="Theme", menuName="Mixed Reality Toolkit/Theme", order=1)>]
type Theme = class
    inherit ScriptableObject
[<UnityEngine.CreateAssetMenu(fileName="Theme", menuName="Mixed Reality/Toolkit/Theme", order=1)>]
type Theme = class
    inherit ScriptableObject
Public Class Theme
Inherits ScriptableObject
Inheritance
UnityEngine.ScriptableObject
Theme
Attributes
UnityEngine.CreateAssetMenuAttribute

Constructors

Theme()

Fields

History

Stores historical values of different ThemeDefinition selections. Useful for editor design Each item in list corresponds to item in Definitions list property Each Dictionary keeps track of last used ThemeDefinition configuration for a given Theme type (type must extend from InteractableThemeBase)

Properties

Definitions

List of Theme Definition configurations. Each definition defines what type of Theme Engine to create and how to configure it

States

Associated States object to use with this theme. Defines the states available for each Theme to utilize

Methods

GetStates()
Obsolete.

Helper function to convert States scriptableobject into an array of available State values

ValidateDefinitions()

Validate list of ThemeDefinitions with current States object

Applies to