Editar

Compartilhar via


StateManager.AddNewState(String) Method

Definition

Create and add a new state to track given the new state name. Also sets the state's event configuration.

public:
 Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::InteractionState ^ AddNewState(System::String ^ stateName);
public Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState AddNewState (string stateName);
member this.AddNewState : string -> Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState
Public Function AddNewState (stateName As String) As InteractionState

Parameters

stateName
String

The name of the state to add

Returns

The new state added

Applies to