/// <summary>
 /// 场景切换时调用
 /// </summary>
 public void Release()
 {
     resourcesMgr.Release();
     playerMgr.Release();
     enemyMgr.Release();
     //npcMgr.Release();
     uiManager.Release();
     uiMaskMgr.Release();
 }
Example #2
0
 public void Release()
 {
     // 场景切换
     resourcesMgr.Release();
     playerMgr.Release();
     enemyMgr.Release();
     npcMgr.Release();
     uiManager.Release();
     uiMaskMgr.Release();
     //sqlMgr.Release();
 }