Edit

Share via


Interactable.SetTargeted(Boolean) Method

Definition

Caution

Use IsTargeted property instead

Change the targeted state

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

Parameters

targeted
Boolean
Attributes

Applies to