Bearbeiten

Freigeben über


BaseCursor.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:
 virtual void Destroy();
public virtual void Destroy ();
override this.Destroy : unit -> unit
Public Overridable Sub Destroy ()

Implements

Applies to