IndexedMonoBehaviourWithNamedStates Class |
Namespace: ImmerseSDK.Indexing
public class IndexedMonoBehaviourWithNamedStates : IndexedMonoBehaviourWithState
The IndexedMonoBehaviourWithNamedStates type exposes the following members.
Name | Description | |
---|---|---|
IndexedMonoBehaviourWithNamedStates | Initializes a new instance of the IndexedMonoBehaviourWithNamedStates class |
Name | Description | |
---|---|---|
StateName |
The current state as a string
| |
StateNames |
The current list of named states
|
Name | Description | |
---|---|---|
Awake |
Unity component method
| |
HasStates |
Returns true if this IndexedMonoBehaviour has any named states
| |
IsStateValid |
Returns true if the given state index can be represented by one of the names in the list
| |
SetState(Int32) |
Sets the state by index
| |
SetState(String) |
Sets the state by name
|
Name | Description | |
---|---|---|
_currentState | ||
_stateNames |
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |