BaseInteractiveElement.AddNewStateWithEventConfiguration Method

Definition

Create and add a new state given the state name and the associated existing event configuration.

C++
public:
 void AddNewStateWithEventConfiguration(System::String ^ stateName, Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::BaseInteractionEventConfiguration ^ eventConfiguration);

Parameters

stateName
String

The name of the state to create

eventConfiguration
BaseInteractionEventConfiguration

The existing event configuration for the new state

Applies to

Produkt Wersje
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0