Modifier

Partager via


StateManager(List<InteractionState>, BaseInteractiveElement) Constructor

Definition

Create a new state manager with a given states scriptable object.

public:
 StateManager(System::Collections::Generic::List<Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::InteractionState ^> ^ states, Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::BaseInteractiveElement ^ interactiveElementSource);
public StateManager (System.Collections.Generic.List<Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState> states, Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.BaseInteractiveElement interactiveElementSource);
new Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.StateManager : System.Collections.Generic.List<Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState> * Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.BaseInteractiveElement -> Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.StateManager
Public Sub New (states As List(Of InteractionState), interactiveElementSource As BaseInteractiveElement)

Parameters

states
List<InteractionState>

List of Interaction States for this state manager to watch

interactiveElementSource
BaseInteractiveElement

Applies to