編輯

共用方式為


Interactable.SetObservation(Boolean) Method

Definition

Caution

Use HasObservation property instead

Change the observation state

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

Parameters

observation
Boolean
Attributes

Applies to