Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Dispose

Disposes this hierarchy node type handler to free up resources in the derived class.
Read time 1 minuteLast updated 12 days ago

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.
Warning
Removed. 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()