編輯

共用方式為


InteractableStates.GetDefaultStates Method

Definition

Returns the default states for InteractableStates. Default states are set on an interactable when it is created and no other list of states is specified. Default States should match "DefaultStates" scriptable object in Interactable

public:
 virtual System::Collections::Generic::List<Microsoft::MixedReality::Toolkit::UI::State ^> ^ GetDefaultStates();
public virtual System.Collections.Generic.List<Microsoft.MixedReality.Toolkit.UI.State> GetDefaultStates ();
abstract member GetDefaultStates : unit -> System.Collections.Generic.List<Microsoft.MixedReality.Toolkit.UI.State>
override this.GetDefaultStates : unit -> System.Collections.Generic.List<Microsoft.MixedReality.Toolkit.UI.State>
Public Overridable Function GetDefaultStates () As List(Of State)

Returns

Applies to