編輯

共用方式為


Interactable.SetToggled(Boolean) Method

Definition

Caution

Use IsToggled property instead

Change the toggled state

public:
 virtual void SetToggled(bool toggled);
[System.Obsolete("Use IsToggled property instead")]
public virtual void SetToggled (bool toggled);
[<System.Obsolete("Use IsToggled property instead")>]
abstract member SetToggled : bool -> unit
override this.SetToggled : bool -> unit
Public Overridable Sub SetToggled (toggled As Boolean)

Parameters

toggled
Boolean
Attributes

Applies to