예제 #1
0
 /// <summary>
 /// 资源模块被卸载时调用的函数
 /// </summary>
 public void OnClose()
 {
     if (_resourceHelper != null)
     {
         _resourceHelper.Clear();
     }
     if (_gameObjectPoolHelper != null)
     {
         _gameObjectPoolHelper.DestroyAll();
     }
 }