States Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
States scriptableObject for storing available states and related state model
public ref class States : UnityEngine::ScriptableObject
[UnityEngine.CreateAssetMenu(fileName="States", menuName="Mixed Reality Toolkit/State", order=1)]
public class States : UnityEngine.ScriptableObject
[UnityEngine.CreateAssetMenu(fileName="States", menuName="Mixed Reality/Toolkit/State", order=1)]
public class States : UnityEngine.ScriptableObject
[<UnityEngine.CreateAssetMenu(fileName="States", menuName="Mixed Reality Toolkit/State", order=1)>]
type States = class
inherit ScriptableObject
[<UnityEngine.CreateAssetMenu(fileName="States", menuName="Mixed Reality/Toolkit/State", order=1)>]
type States = class
inherit ScriptableObject
Public Class States
Inherits ScriptableObject
- Inheritance
-
UnityEngine.ScriptableObjectStates
- Attributes
-
UnityEngine.CreateAssetMenuAttribute
Constructors
States() |
Properties
DefaultIndex |
Default index into state list |
StateList |
List of available states defined by asset |
StateModelType |
Defines the type of State Model to associate with this States asset. Type must be a class that extends InteractableStateModel |
Methods
CreateStateModel() |
Create a State Model class and initialize it with the configuration data from this States ScriptableObject |
Equals(States) |
Test whether the current States object and the argument States object have the same internal values and configurations |
GetStates() |