예제 #1
0
        private void OnDisable()
        {
            if (globalEntityContainer.IsLoaded)
            {
                globalEntityContainer.AsyncUnloadTask().Wait();
            }

            foreach (var chunk in _chunkContainerPool)
            {
                chunk.AsyncUnloadTask().Wait();
            }
        }