Example #1
0
        public void UnLoad()
        {
            if (_handle != null)
            {
                MotionLog.Log($"Begin to unload scene : {Location}");
                _finishCallback    = null;
                _progressCallback  = null;
                _lastProgressValue = 0;

                // 异步卸载场景
                _handle.UnloadAsync();
                _handle = null;
            }
        }