private void InitChilds() { if (m_Childs == null) { m_Childs = AbstractPool <QuadTreeNodeArray <T> > .GetNode() as QuadTreeNodeArray <T>; } }
public void RemoveAllChilds() { if (m_Childs != null) { m_Childs.Dispose(); m_Childs = null; } }
protected override void OnFree() { base.OnFree(); RemoveAllContents(); if (m_Childs != null) { m_Childs.Dispose(); m_Childs = null; } }