Core/NetworkPackage/ClientPack/ClientToMapServer/CA2_Interaction/CA225_tagCMClientTaskCount.cs
@@ -1,21 +1,20 @@ using UnityEngine; using UnityEngine; using System.Collections; //A2 25 客户端任务计数 # tagCMClientTaskCount public class CA225_tagCMClientTaskCount : GameNetPackBasic { public uint CountID; // 计数ID,客户端与策划约定,可以是NPCID或其他 public CA225_tagCMClientTaskCount() { combineCmd = (ushort)0x03FE; _cmd = (ushort)0xA225; } public override void WriteToBytes() { WriteBytes(CountID, NetDataType.DWORD); } } //A2 25 客户端任务计数 # tagCMClientTaskCount public class CA225_tagCMClientTaskCount : GameNetPackBasic { public uint CountID; // 计数ID,客户端与策划约定,可以是NPCID或其他 public byte Type; // 1-杀怪 public CA225_tagCMClientTaskCount () { combineCmd = (ushort)0x03FE; _cmd = (ushort)0xA225; } public override void WriteToBytes () { WriteBytes (CountID, NetDataType.DWORD); WriteBytes (Type, NetDataType.BYTE); } } Core/NetworkPackage/DTCFile/ServerPack/H02_PlayerTalk/DTC0212_tagNotifyCode.cs
@@ -1,17 +1,25 @@ using UnityEngine; using System.Collections; using vnxbqy.UI; //02 12 代码提示#tagNotifyCode public class DTC0212_tagNotifyCode : DtcBasic { public class DTC0212_tagNotifyCode : DtcBasic { public override void Done(GameNetPackBasic vNetPack) { public override void Done(GameNetPackBasic vNetPack) { base.Done(vNetPack); H0212_tagNotifyCode vNetData = vNetPack as H0212_tagNotifyCode; //抽奖时屏蔽 获得货币信息 if (vNetData.Msg == "GetMoney" && ItemLogicUtility.Instance.hidePickItem) return; SysNotifyMgr.Instance.ReceiveNotifyCode(vNetData); DebugEx.Log(vNetData.Msg); Fight/Stage/MapEditor/Game/EventRefreshNPCHandler.cs
@@ -76,7 +76,8 @@ CA225_tagCMClientTaskCount _a225 = new CA225_tagCMClientTaskCount { CountID = (uint)npcID CountID = (uint)npcID, Type = 1 }; GameNetSystem.Instance.SendInfo(_a225); } LogicProject/System/EquipEvolve/EquipRealmCell.cs
@@ -26,7 +26,7 @@ var equipSet = equipModel.GetEquipSet(level); var realmConfig = RealmConfig.Get(equipSet.realm); m_Title.text = realmConfig.Name; m_Title.text = realmConfig.NameEx; selectBtn.SetListener(Select); m_SelectImg.SetActiveIL(EquipEvolveModel.Instance.selectLevelType == this.level); LogicProject/System/MergeServerActivity/MergeServerTurntableWin.cs
@@ -87,6 +87,7 @@ protected override void OnPreOpen() { ItemLogicUtility.Instance.hidePickItem = true; model.OnOperationTimeUpdateEvent += operationTimeUpdateEvent; model.PlayerTurntableEvent += OnPlayerTurntableEvent; WindowCenter.Instance.windowAfterCloseEvent += WindowAfterCloseEvent; @@ -102,6 +103,7 @@ protected override void OnPreClose() { ItemLogicUtility.Instance.hidePickItem = false; model.OnOperationTimeUpdateEvent -= operationTimeUpdateEvent; model.PlayerTurntableEvent -= OnPlayerTurntableEvent; WindowCenter.Instance.windowAfterCloseEvent -= WindowAfterCloseEvent; LogicProject/System/OpenServerActivity/GodKingRandomGiftWin.cs
@@ -95,6 +95,7 @@ protected override void OnPreOpen() { ItemLogicUtility.Instance.hidePickItem = true; GodKingGiftModel.Instance.awardShowSetp = -1; GodKingGiftModel.Instance.selectedItems.Clear(); @@ -105,6 +106,7 @@ protected override void OnPreClose() { ItemLogicUtility.Instance.hidePickItem = false; GodKingGiftModel.Instance.OnPlayerInfoEvent -= OnPlayerInfoEvent; } LogicProject/System/TreasurePavilion/TreasurePavilionWin.cs
@@ -130,6 +130,7 @@ protected override void OnPreOpen() { ItemLogicUtility.Instance.hidePickItem = true; TreasurePavilionModel.Instance.isWinOpen = true; model.PowerUpdate += PowerUpdate; scroller.OnRefreshCell += OnRefreshCell; @@ -283,6 +284,7 @@ protected override void OnPreClose() { ItemLogicUtility.Instance.hidePickItem = false; TreasurePavilionModel.Instance.isWinOpen = false; model.PowerUpdate -= PowerUpdate; scroller.OnRefreshCell -= OnRefreshCell; System/Equip/EquipLevelSelectBehaviour.cs
@@ -44,7 +44,7 @@ private void DisplayBaseInfo() { var realmConfig = RealmConfig.Get(this.equipSet.realm); m_LevelName.text = Language.Get("RealmEquipName", realmConfig.Name); m_LevelName.text = Language.Get("RealmEquipName", realmConfig.NameEx); var unLocked = equipSet.unLocked; m_LockContainer.SetActive(!unLocked); m_Redpoint.redpointId = this.equipSet.redpoint.id; @@ -74,7 +74,7 @@ else { var config = RealmConfig.Get(this.equipSet.realm); SysNotifyMgr.Instance.ShowTip("RealmEquipNoEnough", config.Name, Language.Get("RealmEquipName", config.Name)); SysNotifyMgr.Instance.ShowTip("RealmEquipNoEnough", config.Name, Language.Get("RealmEquipName", config.NameEx)); } } System/Equip/EquipModel.cs
@@ -768,7 +768,7 @@ if (equipSet != null) { var config = RealmConfig.Get(equipSet.realm); SysNotifyMgr.Instance.ShowTip("WearRealmEquip1", config.Name); SysNotifyMgr.Instance.ShowTip("WearRealmEquip1", config.NameEx); } } break; System/Equip/EquipSetSelect.cs
@@ -33,7 +33,7 @@ if (realmConfig != null) { //m_EquipHeadName.text = realmConfig.Name; m_EquipHeadName.text = StringUtility.Contact("<color=#", isSelect ? "ffffff" : "c6b595", ">", realmConfig.Name, "</color>"); m_EquipHeadName.text = StringUtility.Contact("<color=#", isSelect ? "ffffff" : "c6b595", ">", realmConfig.NameEx, "</color>"); } } System/Equip/EquipSuitPropertyWidget.cs
@@ -132,7 +132,7 @@ var equipSet = model.GetEquipSet(suitActive.level); var config = RealmConfig.Get(equipSet.realm); ConfirmCancel.ShowPopConfirm(Language.Get("Mail101"), Language.Get("WearRealmEquip", config.Name, config.Name), Language.Get("WearRealmEquip", config.NameEx, config.NameEx), (bool ok) => { if (ok) { model.SetAppearance(suitActive.level); } } ); } System/Equip/RealmEquipWin.cs
@@ -36,6 +36,8 @@ protected override void BindController() { var canvas = m_SuitPropertyWidget.GetComponent<Canvas>(); canvas.sortingLayerName = "UI"; } protected override void AddListeners() @@ -50,8 +52,13 @@ { if (m_SuitPropertyWidget.gameObject.activeSelf) m_SuitPropertyWidget.SetActive(false); else else { var level = model.selectedLevel.Fetch(); var eightSuitLevel = model.GetSuitLevel(level, EquipSuitType.EightSuit); m_SuitPropertyWidget.Init(level, eightSuitLevel); m_SuitPropertyWidget.SetActive(true); } } protected void TriggerLast() System/EquipGem/EquipStrengthHeadBehaviour.cs
@@ -35,7 +35,7 @@ var realmConfig = RealmConfig.Get(equipSet.realm); if (realmConfig != null) { m_EquipHeadName.text = Language.Get("RealmEquipName", realmConfig.Name); m_EquipHeadName.text = Language.Get("RealmEquipName", realmConfig.NameEx); } } System/EquipGem/EquipStrengthMaster.cs
@@ -38,7 +38,7 @@ var realmConfig = RealmConfig.Get(equipSet.realm); if (realmConfig != null) { attrText = realmConfig.Name + attrText; attrText = realmConfig.NameEx + attrText; } } m_TextConent.text = attrText; System/EquipStar/EquipStarLevelSelectBehaviour.cs
@@ -29,7 +29,7 @@ var equipSet = equipModel.GetEquipSet(level); var realmConfig = RealmConfig.Get(equipSet.realm); this.m_Title.text = realmConfig.Name; this.m_Title.text = realmConfig.NameEx; m_Select.SetListener(Select); } System/EquipTrain/EquipTrainLevelBehaviour.cs
@@ -28,7 +28,7 @@ { var equipSet = equipModel.GetEquipSet(level); var realmConfig = RealmConfig.Get(equipSet.realm); this.m_Title.text = realmConfig.Name; this.m_Title.text = realmConfig.NameEx; this.level = level; this.m_Redpoint.redpointId = 91 * 10000 + level * 100; System/HappyXB/HappyXBModel.cs
@@ -164,6 +164,15 @@ return true; } break; case HappXBTitle.YunShi1: case HappXBTitle.YunShi2: case HappXBTitle.YunShi3: case HappXBTitle.YunShi4: if (ModelCenter.Instance.GetModelEx<YunShiXBActModel>().isSkipXB) { return true; } break; } XBNotifyParms.Add(new ArrayList(paramArray)); System/KnapSack/Logic/ItemLogicUtility.cs
@@ -917,13 +917,11 @@ public event Action<PackType, string> PickItemEvent; //捡起的物品 //用于过滤道具飘入表现 在不想出现物品飘动的界面 开启界面的时候设置true ,关闭界面设置false public bool hidePickItem = false; public void RefreshPickItem(PackType type, string itemIDStr) { if (WindowCenter.Instance.IsOpen("MergeServerTurntableWin") || WindowCenter.Instance.IsOpen("GodKingRandomGiftWin")) return; if (WindowCenter.Instance.IsOpen("TreasurePavilionWin")) if (hidePickItem) return; if (!DTC0403_tagPlayerLoginLoadOK.finishedLogin) return; System/KnapSack/Logic/PackModel.cs
@@ -181,6 +181,9 @@ { if (key != "GetMoney") return; if (ItemLogicUtility.Instance.hidePickItem) return; if (WindowCenter.Instance.IsOpen("GodKingRandomGiftWin")) { return; System/Language/Language.cs
@@ -91,7 +91,12 @@ var languageInfo = LanguageConfig.Get(_id); if (languageInfo == null) { #if UNITY_EDITOR if (_id.StartsWith(NewBieGuideScriptableObject.GuidesPrefixNewBie) || _id.StartsWith(NewBieGuideScriptableObject.GuidesPrefixFun)) return string.Empty; DebugEx.LogFormat("缺少语言表配置,id: {0}", _id); #endif return string.Empty; } System/LoopAct/YunShi/YunShiXBActWin.cs
@@ -105,6 +105,7 @@ protected override void OnPreOpen() { WindowCenter.Instance.uiRoot.eventSystem.enabled = true; ItemLogicUtility.Instance.hidePickItem = true; happyXBModel.RefreshXBTypeInfoAct += OnRefreshXBTypeInfoAct; model.PlayAnimationSync += OnPlaySyncAnimation; packModel.refreshItemCountEvent += OnRefreshItemCountEvent; @@ -143,6 +144,7 @@ protected override void OnPreClose() { ItemLogicUtility.Instance.hidePickItem = false; happyXBModel.RefreshXBTypeInfoAct -= OnRefreshXBTypeInfoAct; model.PlayAnimationSync -= OnPlaySyncAnimation; packModel.refreshItemCountEvent -= OnRefreshItemCountEvent; @@ -151,6 +153,7 @@ private void RefreshXBResult() { Display(); if (model.isSkipXB) { ShowGetItem(); @@ -289,6 +292,7 @@ transQian[i].transform.position = transStartQian[i].transform.position; transQian[i].transform.rotation = transStartQian[i].transform.rotation; } Display(); } public void MoveAndDisappear() @@ -477,6 +481,13 @@ txtXBMany.text = Language.Get("YunShi07", funcSet.xbNums[1]); RefreshSkipUI(); txtHasCnt.text = xbInfo.treasureCount.ToString(); for (int i = 0; i < yunShiXBItems.Count; i++) { int gridIndex = i + 1; yunShiXBItems[i].Display(gridIndex); } for (int i = 0; i < model.AwardCellCount; i++) { if (i < list.Count) System/MainInterfacePanel/TaskListTip.cs
@@ -68,6 +68,8 @@ PlayerDatas.Instance.playerDataRefreshEvent += Updatefighting;//数据的刷新(h0418) reikiRootModel.onReikiRootPointRefresh += RefreshTaskContent; TaskFeedbackFuncWin.onSelectTask += OnSelectTask; taskmodel.OnJumpTask += Taskmodel_OnJumpTask; OnCollectingTreasureChangeEvent(TreasureCategory.Human); TaskScheduling();//任务排序 Selected();//任务选择 @@ -76,6 +78,18 @@ } private void Taskmodel_OnJumpTask() { if (taskmodel.jumpTaskID == 0) { m_ScrollRect.verticalNormalizedPosition = 1; } else { TaskJump(taskmodel.jumpTaskID); } } private void CloseTreasureNewGotWinEvent() { DisplayTreasure(model.collectingHuman); System/MainInterfacePanel/TaskModel.cs
@@ -155,6 +155,17 @@ public List<int> npcImages = new List<int>(); public List<int> playerJobImages = new List<int>(); //跳转到任务,0为置顶 public event Action OnJumpTask; private int m_JumpTaskID = 0; public int jumpTaskID { get { return m_JumpTaskID; } set { m_JumpTaskID = value; OnJumpTask?.Invoke(); } } PackModel _playerPack; PackModel playerPack { System/Message/HrefAnalysis.cs
@@ -370,6 +370,12 @@ presentHrefInfo.Add(split_value, array[1]); } break; case "startguide": { presentHrefInfo.mEvents.Add(RichTextEventEnum.GUIDE); presentHrefInfo.Add(split_value, array[1]); } break; default: { presentHrefInfo.Add(split_value, array[1]); System/Message/RichEvent.cs
@@ -34,4 +34,5 @@ BLSOS,//福地摇人 GSZD,//古神战场组队 COPY,//复制 GUIDE,//引导 } System/Message/RichNormalEvent.cs
@@ -27,6 +27,7 @@ RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.BLSOS, this); RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.GSZD, this); RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.COPY, this); RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.GUIDE, this); } public override bool Execute(RichTextEventEnum type, RichTextMgr.HrefInfo href) @@ -274,6 +275,12 @@ ynmbxxjUtil.Instance.CopyContent(info); } break; case RichTextEventEnum.GUIDE: { var info = href.mSplits["startguide"]; NewBieCenter.Instance.StartNewBieGuideEx(int.Parse(info)); } break; } return false; } System/NewBieGuidance/NewBieGuideScriptableObject.cs
@@ -22,6 +22,8 @@ public int usherAction; public bool clickAnyWhereComplete = false; public bool pointerDownComplete = false; public bool clickOthersComplete = false; public UseWindow useWindow; public enum ArrowPosition { @@ -43,8 +45,17 @@ Pattern1 = 0, Pattern2 = 1, None = 2,//为什么None是2呢,因为None后添加的,而这个枚举是序列化的字段 } //引导用途需做额外逻辑,如引导任务和日常需要滚动到指定位置 public enum UseWindow { None = 0, MainTask = 1, Daily = 2, } public const string GuidesPrefixNewBie = "guide_new_"; public const string GuidesPrefixFun = "guide_fun_"; System/NewBieGuidance/NewBieWin.cs
@@ -9,7 +9,6 @@ using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; namespace vnxbqy.UI { @@ -56,7 +55,7 @@ protected override void OnPreOpen() { m_ClickTarget = null; m_NewBieMask.SetActive(true); m_NewFunction.SetActive(false); m_NewBieGuide.SetActive(false); m_RaycasterMask.SetActive(true); @@ -76,6 +75,7 @@ UnAttachTrigger(); m_ClickTarget = null; NewBieCenter.Instance.FinishCurrentGuideWithoutCloseWin(); stepConfig = null; } } @@ -119,9 +119,6 @@ private void DisplayFunctionUnLock(int _functionId) { m_NewFunction.SetActive(true); m_NewBieGuide.SetActive(false); @@ -146,14 +143,17 @@ NewBieCenter.Instance.FinishNewBieGuide(NewBieCenter.Instance.currentGuide); } NewBieGuideScriptableObject stepConfig; private void DisplayGuide() { var config = GuideConfig.Get(NewBieCenter.Instance.currentGuide); m_Skip.SetActive(config.CanSkip == 1); m_Effect2.Stop(); stepConfig = null; StartCoroutine(Co_DisplayGuide()); } //完成当前引导步骤 private void ReportStepOver() { m_newBieGuideUsher.Stop(); @@ -162,6 +162,7 @@ UnAttachTrigger(); m_ClickTarget = null; } private void OnStepChange() { @@ -183,11 +184,36 @@ IEnumerator Co_FunctionUnLockDelay(FunctionUnlockFlyObject _flyObject) { yield return WaitingForSecondConst.WaitMS2000; yield return WaitingForSecondConst.WaitMS500; m_ContainerFunctionBg.SetActive(false); m_NewBieGuide.SetActive(false); _flyObject.Begin(OnFunctionalUnLockShowEnd); } void OnUseWindow(NewBieGuideScriptableObject _stepConfig) { switch (_stepConfig.useWindow) { case NewBieGuideScriptableObject.UseWindow.MainTask: var mainTaskModel = ModelCenter.Instance.GetModel<TaskModel>(); mainTaskModel.jumpTaskID = 0; break; case NewBieGuideScriptableObject.UseWindow.Daily: var arr = _stepConfig.UIElementPath.Split("DailyQuestBehaviour_"); if (arr.Length == 2) { var arr2 = arr[1].Split("/"); int id = 0; int.TryParse(arr2[0], out id); if (id != 0) { var dailyQuestModel = ModelCenter.Instance.GetModel<DailyQuestModel>(); dailyQuestModel.wannaLookDailyQuest = id; } } break; } } IEnumerator Co_DisplayGuide() @@ -203,7 +229,9 @@ } var step = NewBieCenter.Instance.guideStep; var stepConfig = ScriptableObjectLoader.LoadSoNewBieGuideStep(step); stepConfig = ScriptableObjectLoader.LoadSoNewBieGuideStep(step); OnUseWindow(stepConfig); var timer = 0f; while (m_ClickTarget == null) @@ -233,7 +261,9 @@ m_RaycasterMask.SetActive(false); m_NewBieGuide.SetActive(true); m_NewBieMask.Display(step); m_Dialogue.text = stepConfig.GetTipContent(GuideType.NewBie); m_ContainerDialogue.transform.localPosition = stepConfig.tipPosition; @@ -327,12 +357,68 @@ { m_NewBieMask.mask.center = m_NewBieMask.mask.transform.InverseTransformPoint(m_ClickTarget.position); m_ClickHintRoot.position = m_ClickTarget.position; if (stepConfig != null && stepConfig.clickOthersComplete) { m_NewBieMask.SetActive(false); } else { m_NewBieMask.SetActive(true); } } ClickOtherFinish(); } private void ClickOtherFinish() { if (stepConfig != null && stepConfig.clickOthersComplete && Input.GetMouseButtonDown(0)) { var sp = Input.mousePosition; if (!RectTransformUtility.RectangleContainsScreenPoint(m_ClickHintRoot, sp, CameraManager.uiCamera)) { SkipNewBieGuide(); return; } } } //BaseCanvas/MainInterfaceWin/Widget_RightBottom/Container_Function/Function_Grid/Grid_6/Content/Btn_@* //分割成BaseCanvas/MainInterfaceWin/Widget_RightBottom/Container_Function/Function_Grid/Grid_6/Content 和 Btn_ //在WindowCenter.Instance.uiRoot的 BaseCanvas/MainInterfaceWin/Widget_RightBottom/Container_Function/Function_Grid/Grid_6/Content下查找以Btn_开头的第一个子物体 //支持路径末尾加@*做模糊查找 private Transform FindTransform(string path) { if (!path.EndsWith("@*")) { return WindowCenter.Instance.uiRoot.transform.Find(path); } var paths = path.Split('/'); var newPath = string.Join("/", paths, 0, paths.Length - 1); string findName = paths[paths.Length - 1].Replace("@*", ""); var parent = WindowCenter.Instance.uiRoot.transform.Find(newPath); if (parent == null) { return null; } var comps = parent.GetComponentsInChildren<Transform>(); for (int i = 0; i < comps.Length; i++) { if (comps[i].name.StartsWith(findName)) { return comps[i]; } } return WindowCenter.Instance.uiRoot.transform.Find(path); } private void FindAndAttachTrigger(NewBieGuideScriptableObject _stepConfig) { m_ClickTarget = WindowCenter.Instance.uiRoot.transform.Find(_stepConfig.UIElementPath); m_ClickTarget = FindTransform(_stepConfig.UIElementPath); m_ClickEmptyComplete.RemoveAllListeners(); if (_stepConfig.clickAnyWhereComplete) System/Realm/RealmMissionCell.cs
@@ -66,7 +66,7 @@ missionNameText.text = Language.Get("RealmMissionName2", MapConfig.Get(config.NeedValueList[0]).Name, config.NeedValueList[1]); break; case 3: curValue = model.GetMissionProcess(id); curValue = model.GetMissionProcess(missionID); expSlider.value = (float)curValue / config.NeedValueList[0]; processText.text = StringUtility.Contact(curValue, "/", config.NeedValueList[0]); missionNameText.text = Language.Get("RealmMissionName3", config.NeedValueList[0]); @@ -106,7 +106,7 @@ break; case 6: missionNameText.text = Language.Get("RealmMissionName6"); curValue = model.GetMissionProcess(id); curValue = model.GetMissionProcess(missionID); expSlider.value = (float)curValue / 1; processText.text = StringUtility.Contact(curValue, "/", 1); break; System/Realm/RealmModel.cs
@@ -98,6 +98,8 @@ PackModel packModel { get { return ModelCenter.Instance.GetModel<PackModel>(); } } DungeonModel dungeonModel { get { return ModelCenter.Instance.GetModel<DungeonModel>(); } } SkyTowerModel skyTowerModel { get { return ModelCenter.Instance.GetModel<SkyTowerModel>(); } } DailyQuestModel dailyQuestModel { get { return ModelCenter.Instance.GetModel<DailyQuestModel>(); } } WorldBossModel worldBossModel { get { return ModelCenter.Instance.GetModel<WorldBossModel>(); } } public override void Init() { @@ -612,7 +614,7 @@ taskAwardState = (int)package.TaskAwardState; for (int i = 0; i < package.TaskValueCount; i++) { taskValues.Add(package.TaskValueList[i].TaskID, (int)package.TaskValueList[i].TaskValue); taskValues[package.TaskValueList[i].TaskID] = (int)package.TaskValueList[i].TaskValue; } RealmMissionRefreshEvent?.Invoke(); @@ -943,7 +945,44 @@ } else if (realMissionGuides.ContainsKey(type)) { NewBieCenter.Instance.StartNewBieGuideEx(realMissionGuides[type][0]); int guideIndex = 0; if (type == 1) { var dailyQuestState = dailyQuestModel.GetQuestState((int)DailyQuestType.FairyLand); if (dailyQuestState == DailyQuestModel.DailyQuestState.Locked) guideIndex = 0; else if (dailyQuestState == DailyQuestModel.DailyQuestState.Normal) guideIndex = 1; else if (dailyQuestState == DailyQuestModel.DailyQuestState.CanBuyTimes) guideIndex = 2; else guideIndex = 3; } else if (type == 2) { if (!FuncOpen.Instance.IsFuncOpen(164, true)) { return; } } else if (type == 3) { if (FuncOpen.Instance.IsFuncOpen(108)) { guideIndex = 1; } } else if (type == 4) { if (worldBossModel.GetWorldBossRemainCount() == 0) { guideIndex = 1; } } NewBieCenter.Instance.StartNewBieGuideEx(realMissionGuides[type][guideIndex]); } } System/RoleParticulars/OtherPlayerEquipLevelBehaviour.cs
@@ -24,7 +24,7 @@ this.level = (int)_data; var realm = EquipControlConfig.Get(this.level, 1).realm; this.m_Title.text = RealmConfig.Get(realm).Name; this.m_Title.text = RealmConfig.Get(realm).NameEx; model.selectedLevelChangeEvent += OnSelected; DisplayBackGround(model.selectedLevel == this.level); System/Treasure/FunctionUnlockFlyObject.cs
@@ -27,7 +27,7 @@ Vector3 originalPosition = Vector3.zero; float originalScale = 2f; float speed =6f; float speed = 6f; float durationLimit = 10f; float timer = 0f; @@ -37,7 +37,7 @@ public void SetContent(FunctionUnlockType _type, int _id) { SetSpeed(6f); SetSpeed(10f); m_UnLockType = _type; m_Id = _id; System/Treasure/TreasureChapterWin.cs
@@ -121,7 +121,7 @@ instance.transform.SetParentEx(m_ContainerFly, Vector3.zero, Quaternion.identity, Vector3.one); flyObject = instance.GetComponent<FunctionUnlockFlyObject>(); flyObject.SetContent(FunctionUnlockType.TreasureChapter, model.treasureChapterId); flyObject.SetSpeed(6f); flyObject.SetSpeed(10f); flyObject.SetActive(true); var config = TreasureConfig.Get(model.treasureChapterId); @@ -147,7 +147,7 @@ private void OnClickClose() { if (timer < 2f || flying) if (timer < 1f || flying) { return; }