文档

Unity Engine

Unity Engine

Dispose

Disposes this hierarchy node type handler to free up resources in the derived class.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule

Dispose(bool)

Disposes this hierarchy node type handler to free up resources in the derived class.
protected virtual void Dispose(bool disposing)

Parameters

disposing

Returns true if called from Dispose, false otherwise.

Dispose()

Disposes this hierarchy node type handler to free up resources.
警告
Deprecated. The IDisposable interface is obsolete and no longer has any effect. Instances of handlers are owned and disposed by the hierarchy so they do not need to be disposed by user code.
public void Dispose()