Modifier

Partager via


IMixedRealityCursor.Destroy Method

Definition

Utility method to destroy cursor dependencies (e.g. event subscriptions) in the system explicitly in the middle update loop. This is a "replacement" of Unity OnDestroy. Relying on Unity OnDestroy may cause event handler subscription to become invalid at the point of destroying.

public:
 void Destroy();
public void Destroy ();
abstract member Destroy : unit -> unit
Public Sub Destroy ()

Applies to