Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Cleanup()

Use this function to release resources allocated by the ObjectPreview implementation.
Read time 1 minuteLast updated 6 days 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.