編輯

共用方式為


Interactable.SetInteractive(Boolean) Method

Definition

Caution

Use IsInteractive property instead

Change the Interactive state

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

Parameters

interactive
Boolean
Attributes

Applies to