public QuadTree() { this.m_Root = null; this.m_ScreenSpaceOffset = Vector2.zero; this.Clear(); }
public void SetSize(Rect rectangle) { this.m_Root = null; this.m_Rectangle = rectangle; this.m_Root = new QuadTreeNode <T>(this.m_Rectangle); }
public void SetSize(Rect rectangle) { m_Root = null; m_Rectangle = rectangle; m_Root = new QuadTreeNode <T>(m_Rectangle); }