Example #1
0
        /// <summary>
        /// 卸载场景
        /// </summary>
        /// <param name="sceneName"></param>
        public void UnloadSceneAsync(string sceneName)
        {
            if (_resourceHelper == null)
            {
                return;
            }

            _resourceHelper.UnloadSceneAsync(sceneName);
            return;
        }
Example #2
0
 /// <summary>
 /// 异步卸载场景
 /// </summary>
 /// <param name="scenename"></param>
 public void UnloadSceneAsync(string scenename)
 {
     _resourceHelper?.UnloadSceneAsync(scenename);
 }