public void Clear() { if (_container) { Destroy(_container.gameObject); } _container = new GameObject("Features Container").transform; _container.SetParent(transform, false); walls.Clear(); }