Documentation

Unity Engine

Unity Engine

Cleanup()

Use this function to release resources allocated by the ObjectPreview implementation.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public virtual void Cleanup()

Remarks

When overriding this function be sure to include a base.Cleanup to avoid errors.