public void Destroy() { m_gameObjectRepository.DestroyAllGameObjects(); Object.Destroy(m_gameObjectRepository.Root); }