編輯

共用方式為


Interactable.SetObservationTargeted(Boolean) Method

Definition

Caution

Use HasObservationTargeted property instead

Change the observation targeted state

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

Parameters

targeted
Boolean
Attributes

Applies to