public void Dispose() { primitiveRenderer = null; input = null; root.Dispose(); root = null; if (instances != null) { instances.Clear(); instances = null; } }
public void Initialize(PrimitiveRenderer2D renderer) { primitiveRenderer = renderer; input = new Input(); root = new DebugUiControl.Root(); }