Make TriPropertyTree disposable

This commit is contained in:
VladV 2023-09-26 11:20:32 +04:00
parent 6290f2934c
commit af37b2afa7

View File

@ -6,7 +6,7 @@ using UnityEngine.Profiling;
namespace TriInspector namespace TriInspector
{ {
public abstract class TriPropertyTree public abstract class TriPropertyTree : IDisposable
{ {
private TriPropertyElement _rootPropertyElement; private TriPropertyElement _rootPropertyElement;
private Rect _cachedOuterRect = new Rect(0, 0, 0, 0); private Rect _cachedOuterRect = new Rect(0, 0, 0, 0);