public void Unload() { RootGroup.Unload(); foreach (var bound in RootBoundingBoxes) { UnityEngine.Object.Destroy(bound.gameObject); } GlobalVariableDataStore.Instance.Unload(); RootBoundingBoxes.Clear(); }