編輯

共用方式為


Interactable.GetStates Method

Definition

Caution

Use States.StateList instead

Returns a list of states assigned to the Interactable

public:
 cli::array <Microsoft::MixedReality::Toolkit::UI::State ^> ^ GetStates();
[System.Obsolete("Use States.StateList instead")]
public Microsoft.MixedReality.Toolkit.UI.State[] GetStates ();
[<System.Obsolete("Use States.StateList instead")>]
member this.GetStates : unit -> Microsoft.MixedReality.Toolkit.UI.State[]
Public Function GetStates () As State()

Returns

State[]
Attributes

Applies to