public void RemoveFromParentAndCleanup(bool cleanup) { if (m_pParent != null) { m_pParent.RemoveChild(this, cleanup); } }