Modifier

Partager via


Interactable.SetPress(Boolean) Method

Definition

Caution

Use Press property instead

Change the press state

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

Parameters

press
Boolean
Attributes

Applies to