文档

Unity Engine

Unity Engine

Cleanup()

Use this function to release resources allocated by the ObjectPreview implementation.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Remarks

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