Redigera

Dela via


States Class

Definition

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.ScriptableObject
States
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()

Applies to