public void Dispose() { comp2Ds.Clear(); comp3Ds.Clear(); UI2DRenderer.Dispose(); UI3DRenderer.Dispose(); }