| | |
| | |
|
| | | DebugEx.Log("前期结束...");
|
| | | }
|
| | | private bool mDestroy = false;
|
| | | public void Destroy()
|
| | |
|
| | |
|
| | | private IEnumerator Co_Destroy()
|
| | | {
|
| | | if (IsFinished())
|
| | | {
|
| | | return;
|
| | | yield break;
|
| | | }
|
| | |
|
| | | if (m_MoveToEffect)
|
| | |
| | | m_FabaoEffect = null;
|
| | | }
|
| | |
|
| | | // 资源卸载
|
| | | if (!AssetSource.sceneFromEditor)
|
| | | {
|
| | | UnityEngine.SceneManagement.SceneManager.UnloadSceneAsync("Map000_Xsdt");
|
| | | AssetBundleUtility.Instance.UnloadAssetBundle("maps/map000_xsdt", true, false);
|
| | | }
|
| | |
|
| | | List<GActor> _list = GAMgr.Instance.GetTypeList(E_ActorClassType.NpcClientFightNorm);
|
| | | if (_list != null)
|
| | | {
|
| | |
| | | {
|
| | | AssetBundleUtility.Instance.UnloadAssetBundle("mob/prefab_race_n017a", true, true);
|
| | | }
|
| | |
|
| | | // 资源卸载
|
| | | if (!AssetSource.sceneFromEditor)
|
| | | {
|
| | | // var _operation = UnityEngine.SceneManagement.SceneManager.UnloadSceneAsync("Map000_Xsdt");
|
| | | // while (_operation.isDone)
|
| | | // {
|
| | | // yield return null;
|
| | | // }
|
| | | AssetBundleUtility.Instance.UnloadAssetBundle("maps/map000_xsdt", true, false);
|
| | | }
|
| | | }
|
| | |
|
| | | private bool mDestroy = false;
|
| | | public void Destroy()
|
| | | {
|
| | | SnxxzGame.Instance.StartCoroutine(Co_Destroy());
|
| | | }
|
| | |
|
| | | private SimpleMapTrasfer CreateTransfer()
|