編輯

共用方式為


Interactable.SetState Method

Definition

a public way to set state directly

public:
 void SetState(Microsoft::MixedReality::Toolkit::UI::InteractableStates::InteractableStateEnum state, bool value);
public void SetState (Microsoft.MixedReality.Toolkit.UI.InteractableStates.InteractableStateEnum state, bool value);
member this.SetState : Microsoft.MixedReality.Toolkit.UI.InteractableStates.InteractableStateEnum * bool -> unit
Public Sub SetState (state As InteractableStates.InteractableStateEnum, value As Boolean)

Parameters

value
Boolean

Applies to