/// <summary> /// 资源卸载 /// </summary> public override void Clear() { SoundPlay.PlayBackGroundSound("bgm_city_loop", true, false); MapM.ClearMap(); CM.ExitCm(); ShipBombRule.ClearBombData(); WndManager.DestroyAllDialogs(); }
void BtnReturn_OnClickEventHandler(UIButton sender) { U3DUtil.DestroyAllChild(BattleEnvironmentM.GetLifeMBornNode(true).gameObject); WndManager.DestroyAllDialogs(); BoatObj.SendGetPlanData(); TreasureScene.OutTreasureScene(); }
public void DoReturnMainTown() { U3DUtil.DestroyAllChild(BattleEnvironmentM.GetLifeMBornNode(true).gameObject); WndManager.DestroyAllDialogs(); BoatObj.SendGetPlanData(); MainCameraM.s_Instance.EnableOthOn(false); MainCameraM.s_Instance.ResetCameraDataByHaven(); MainCameraM.s_Instance.SetCameraLimitParam(MainCameraM.s_reaLimitPyramidHavenView); MainTownScene.RevertFrCamPosTemp(); }
public void DoReturn() { RoomMap.ClearCanvansArea(); TouchMoveManager.ClearShipBuild(); ShipPlan P = ShipPlanDC.GetCurShipPlan(); P.ResetPutID(); U3DUtil.DestroyAllChild(TreasureScene.GetMapStart().gameObject); WndManager.DestroyAllDialogs(); BoatObj.SendGetPlanData(); TreasureScene.BuildUIByTreasureState(); TreasureScene.OutTreasureScene(); }
/// <summary> /// 资源卸载 /// </summary> public override void Clear() { WndManager.DestroyAllDialogs(); }