States Class

Definition

States scriptableObject for storing available states and related state model

C++
public ref class States : UnityEngine::ScriptableObject
Inheritance
UnityEngine.ScriptableObject
States
Attributes
UnityEngine.CreateAssetMenuAttribute

Constructors

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

Toode Versioonid
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