浏览代码

引导表修改

lzx 19 小时之前
父节点
当前提交
fb697cea71

+ 159 - 31
Assets/Res/Config/LanguageChineseConfig.json

@@ -13342,111 +13342,111 @@
     },
     {
       "ID": 4076,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4077,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4078,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4079,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4080,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4081,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4082,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4083,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4084,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4085,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4086,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4087,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4088,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4089,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4090,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4091,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4092,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4093,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4094,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4095,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4096,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4097,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4098,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4099,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4100,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4101,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4102,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4103,
@@ -13494,7 +13494,7 @@
     },
     {
       "ID": 4114,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4115,
@@ -13558,11 +13558,11 @@
     },
     {
       "ID": 4130,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4131,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4132,
@@ -13806,7 +13806,7 @@
     },
     {
       "ID": 4192,
-      "txt": ""
+      "txt": "0"
     },
     {
       "ID": 4193,
@@ -38699,6 +38699,134 @@
     {
       "ID": 10415,
       "txt": "借钱给疯道人逛赌楼,前去讨债反被耍‌"
+    },
+    {
+      "ID": 10416,
+      "txt": "已经获得了不少修为,去洞府提升吧!"
+    },
+    {
+      "ID": 10417,
+      "txt": "点击突破并提升自己!"
+    },
+    {
+      "ID": 10418,
+      "txt": "0"
+    },
+    {
+      "ID": 10419,
+      "txt": "0"
+    },
+    {
+      "ID": 10420,
+      "txt": "0"
+    },
+    {
+      "ID": 10421,
+      "txt": "0"
+    },
+    {
+      "ID": 10422,
+      "txt": "0"
+    },
+    {
+      "ID": 10423,
+      "txt": "0"
+    },
+    {
+      "ID": 10424,
+      "txt": "0"
+    },
+    {
+      "ID": 10425,
+      "txt": "0"
+    },
+    {
+      "ID": 10426,
+      "txt": "0"
+    },
+    {
+      "ID": 10427,
+      "txt": "0"
+    },
+    {
+      "ID": 10428,
+      "txt": "0"
+    },
+    {
+      "ID": 10429,
+      "txt": "0"
+    },
+    {
+      "ID": 10430,
+      "txt": "0"
+    },
+    {
+      "ID": 10431,
+      "txt": "0"
+    },
+    {
+      "ID": 10432,
+      "txt": "0"
+    },
+    {
+      "ID": 10433,
+      "txt": "0"
+    },
+    {
+      "ID": 10434,
+      "txt": "0"
+    },
+    {
+      "ID": 10435,
+      "txt": "0"
+    },
+    {
+      "ID": 10436,
+      "txt": "0"
+    },
+    {
+      "ID": 10437,
+      "txt": "0"
+    },
+    {
+      "ID": 10438,
+      "txt": "0"
+    },
+    {
+      "ID": 10439,
+      "txt": "0"
+    },
+    {
+      "ID": 10440,
+      "txt": "0"
+    },
+    {
+      "ID": 10441,
+      "txt": "0"
+    },
+    {
+      "ID": 10442,
+      "txt": "0"
+    },
+    {
+      "ID": 10443,
+      "txt": "0"
+    },
+    {
+      "ID": 10444,
+      "txt": "0"
+    },
+    {
+      "ID": 10445,
+      "txt": "0"
+    },
+    {
+      "ID": 10446,
+      "txt": "0"
+    },
+    {
+      "ID": 10447,
+      "txt": "0"
     }
   ]
 }

+ 108 - 0
Assets/Res/Config/PlayerGuideConfig.json

@@ -791,6 +791,114 @@
       "ForceOnclick": 0,
       "forceText": 1,
       "voiceFile": ""
+    },
+    {
+      "ID": 601,
+      "Index": 1,
+      "NeedLevel": 0,
+      "groupID": 6,
+      "FingerType": 1,
+      "dialogPos": [
+        -182,
+        -517
+      ],
+      "NpcPos": [
+        422,
+        -100
+      ],
+      "NpcSize": [
+        500,
+        500
+      ],
+      "SpeakerName": 0,
+      "SpeakerStyle": 4,
+      "SpeakerImage": 3,
+      "desc": 10416,
+      "Highlighting": 1,
+      "blackAlpha": 0.0,
+      "Handle": 1,
+      "IsSkip": 0,
+      "TextSize": [
+        1240,
+        157
+      ],
+      "reversalFinger": 1,
+      "reversalBox": 2,
+      "ForceOnclick": 1,
+      "forceText": 1,
+      "voiceFile": ""
+    },
+    {
+      "ID": 602,
+      "Index": 2,
+      "NeedLevel": 0,
+      "groupID": 6,
+      "FingerType": 1,
+      "dialogPos": [
+        -182,
+        -517
+      ],
+      "NpcPos": [
+        422,
+        -100
+      ],
+      "NpcSize": [
+        500,
+        500
+      ],
+      "SpeakerName": 0,
+      "SpeakerStyle": 4,
+      "SpeakerImage": 3,
+      "desc": -1,
+      "Highlighting": 1,
+      "blackAlpha": 0.0,
+      "Handle": 1,
+      "IsSkip": 0,
+      "TextSize": [
+        1240,
+        157
+      ],
+      "reversalFinger": 1,
+      "reversalBox": 2,
+      "ForceOnclick": 1,
+      "forceText": 1,
+      "voiceFile": ""
+    },
+    {
+      "ID": 603,
+      "Index": 3,
+      "NeedLevel": 0,
+      "groupID": 6,
+      "FingerType": 1,
+      "dialogPos": [
+        -182,
+        -517
+      ],
+      "NpcPos": [
+        422,
+        -100
+      ],
+      "NpcSize": [
+        500,
+        500
+      ],
+      "SpeakerName": 0,
+      "SpeakerStyle": 4,
+      "SpeakerImage": 3,
+      "desc": 10417,
+      "Highlighting": 1,
+      "blackAlpha": 0.0,
+      "Handle": 1,
+      "IsSkip": 0,
+      "TextSize": [
+        1240,
+        157
+      ],
+      "reversalFinger": 1,
+      "reversalBox": 2,
+      "ForceOnclick": 1,
+      "forceText": 1,
+      "voiceFile": ""
     }
   ]
 }

+ 5 - 0
Assets/Scripts/GameUI/UI/BoxPanel/BoxPanel.cs

@@ -87,6 +87,11 @@ namespace Fort23.Mono
         {
             // AppBarPanel.ClosePanel();
             TitlePanel.OpenPanel(new List<int>() { openBoxConfig.CostItemID });
+            
+            if (PlayerGuideManager.Instance.GuideIsCanDo(8, 1))
+            {
+                PlayerGuideManager.Instance.NextGuide();
+            }
             return base.GetFocus();
         }
 

+ 5 - 0
Assets/Scripts/GameUI/UI/BoxPanel/GachaPanel.cs

@@ -37,6 +37,11 @@ namespace Fort23.Mono
         {
             AppBarPanel.ClosePanel();
             TitlePanel.ClosePanel();
+            
+            if (PlayerGuideManager.Instance.GuideIsCanDo(8, 2))
+            {
+                PlayerGuideManager.Instance.NextGuide();
+            }
             // TitlePanel.OpenPanel(new List<int>() { GlobalParam.Item_Coin_ID, GlobalParam.Item_Diamond_ID });
             return base.GetFocus();
         }

+ 144 - 0
Assets/Scripts/GameUI/UI/GuidePanel/Phases/Phase6.cs

@@ -0,0 +1,144 @@
+using Fort23.Core;
+using Fort23.UTool;
+using GameLogic.Combat;
+using GameLogic.Combat.CombatTool;
+using UnityEngine;
+using UnityEngine.UI;
+
+namespace Fort23.Mono.Phases
+{
+    public class Phase6 : IGuideLogic
+    {
+        public PlayerGuideManager pgm;
+
+        private bool once = false;
+
+        public Phase6(PlayerGuideManager guideManager)
+        {
+            this.pgm = guideManager;
+            once = true;
+        }
+
+        public override void Active()
+        {
+            base.Active();
+            actionList.Add(OnStep601);
+            actionList.Add(OnStep602);
+            actionList.Add(OnStep603);
+            actionList.Add(OnStepEnd);
+        }
+
+        public override void Begin()
+        {
+            guideID = 6;
+            guideIdx = -1;
+            pgm.isForceDone = false;
+            pgm.isTriggerDone = false;
+        }
+
+        public override void End()
+        {
+        }
+
+        public override async CTask Guide()
+        {
+            if (actionList.Count > guideIdx)
+            {
+                pgm.ResetPlayerGuide();
+                guideIdx++;
+
+
+                SaveStep(guideIdx);
+                await actionList[guideIdx](null);
+            }
+            else
+            {
+                LogTool.Error("没有引导了,强制结束。出错步骤,:" + pgm.curPhase + guideIdx);
+                pgm.isForceDone = true;
+            }
+        }
+
+        public override void LogicRelase()
+        {
+            actionList.Clear();
+        }
+
+        public override void LogicUpdate()
+        {
+        }
+
+
+        /// <summary>
+        /// 点击洞府
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep601(UnityEngine.Object obj)
+        {
+            GameObject gameObject = UIManager.Instance.GetComponent<AppBarPanel>().Btn_DongFu.gameObject;
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+            await pgm.ConfigLogic(601, delegate() { });
+
+            pgm.SetFingerPos(localPos);
+            pgm.SetFingerVisiable(true);
+        }
+
+        /// <summary>
+        /// 点击修炼
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep602(UnityEngine.Object obj)
+        {
+            GameObject gameObject = UIManager.Instance.GetComponent<CaveMainPanel>().Btn_XiuLian.gameObject;
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+            await pgm.ConfigLogic(602, delegate() { });
+
+            pgm.SetFingerPos(localPos);
+            pgm.SetFingerVisiable(true);
+        }
+
+        /// <summary>
+        /// 升级
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep603(UnityEngine.Object obj)
+        {
+            GameObject gameObject = UIManager.Instance.GetComponent<HeroInformationPanel>().Btn_TuPo.gameObject;
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+            await pgm.ConfigLogic(603, delegate() { });
+
+            pgm.SetFingerPos(localPos);
+            pgm.SetFingerVisiable(true);
+        }
+
+        public async CTask OnStepEnd(UnityEngine.Object obj)
+        {
+            pgm.StepInit();
+            pgm.SetBlackBaseVisiable(false);
+            ForceGuideOver();
+        }
+
+        /// <summary>
+        /// 引导完成
+        /// </summary>
+        private void ForceGuideOver()
+        {
+            pgm.CloseForceGuide();
+            pgm.RestGuide();
+        }
+    }
+}

+ 3 - 0
Assets/Scripts/GameUI/UI/GuidePanel/Phases/Phase6.cs.meta

@@ -0,0 +1,3 @@
+fileFormatVersion: 2
+guid: 8af886bba21b445ab17902db48e5f937
+timeCreated: 1760927099

+ 225 - 0
Assets/Scripts/GameUI/UI/GuidePanel/Phases/Phase7.cs

@@ -0,0 +1,225 @@
+using Fort23.Core;
+using Fort23.UTool;
+using GameLogic.Combat;
+using GameLogic.Combat.CombatTool;
+using UnityEngine;
+using UnityEngine.UI;
+
+namespace Fort23.Mono.Phases
+{
+    /// <summary>
+    /// 商店抽卡引导
+    /// </summary>
+    public class Phase7 : IGuideLogic
+    {
+        public PlayerGuideManager pgm;
+
+        private bool once = false;
+
+        public Phase7(PlayerGuideManager guideManager)
+        {
+            this.pgm = guideManager;
+            once = true;
+        }
+
+        public override void Active()
+        {
+            base.Active();
+            actionList.Add(OnStep701);
+            actionList.Add(OnStep702);
+            actionList.Add(OnStep703);
+            actionList.Add(OnStep704);
+            actionList.Add(OnStep705);
+            actionList.Add(OnStep706);
+            actionList.Add(OnStepEnd);
+        }
+
+        public override void Begin()
+        {
+            guideID = 7;
+            guideIdx = -1;
+            pgm.isForceDone = false;
+            pgm.isTriggerDone = false;
+        }
+
+        public override void End()
+        {
+        }
+
+        public override async CTask Guide()
+        {
+            if (actionList.Count > guideIdx)
+            {
+                pgm.ResetPlayerGuide();
+                guideIdx++;
+
+
+                SaveStep(guideIdx);
+                await actionList[guideIdx](null);
+            }
+            else
+            {
+                LogTool.Error("没有引导了,强制结束。出错步骤,:" + pgm.curPhase + guideIdx);
+                pgm.isForceDone = true;
+            }
+        }
+
+        public override void LogicRelase()
+        {
+            actionList.Clear();
+        }
+
+        public override void LogicUpdate()
+        {
+        }
+
+
+        /// <summary>
+        /// 点击白嫖代金卷页签
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep701(UnityEngine.Object obj)
+        {
+            GameObject gameObject = UIManager.Instance.GetComponent<ShopPanel>()._shopBtnWidgets[0].own;
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+            await pgm.ConfigLogic(6701, delegate() { });
+
+            pgm.SetFingerPos(localPos);
+            pgm.SetFingerVisiable(true);
+        }
+
+        /// <summary>
+        /// 点击十连抽
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep702(UnityEngine.Object obj)
+        {
+            GameObject gameObject = null;
+            ShopPanel shopPanel = UIManager.Instance.GetComponent<ShopPanel>();
+            foreach (var shopPanelShopGroupWidgetType1 in shopPanel._shopGroupWidgetType1s)
+            {
+                if (shopPanelShopGroupWidgetType1 is ShopBoxWidget)
+                {
+                    ShopBoxWidget shopBoxWidget = (ShopBoxWidget)shopPanelShopGroupWidgetType1;
+                    gameObject = shopBoxWidget.tenButton.gameObject;
+                    break;
+                }
+            }
+
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+            await pgm.ConfigLogic(702, delegate() { });
+
+            pgm.SetFingerPos(localPos);
+            pgm.SetFingerVisiable(true);
+        }
+
+        /// <summary>
+        /// 点击领取
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep703(UnityEngine.Object obj)
+        {
+            GameObject gameObject = UIManager.Instance.GetComponent<ShopGachaPanel>().Btn_LingQu.gameObject;
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+            await pgm.ConfigLogic(703, delegate() { });
+
+            pgm.SetFingerPos(localPos);
+            pgm.SetFingerVisiable(true);
+        }
+
+        /// <summary>
+        /// 点击兑换商店
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep704(UnityEngine.Object obj)
+        {
+            GameObject gameObject = UIManager.Instance.GetComponent<ShopPanel>()._shopBtnWidgets[1].own;
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+            await pgm.ConfigLogic(704, delegate() { });
+
+            pgm.SetFingerPos(localPos);
+            pgm.SetFingerVisiable(true);
+        }
+
+
+        /// <summary>
+        /// 点击姚丹
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep705(UnityEngine.Object obj)
+        {
+            GameObject gameObject =
+                (UIManager.Instance.GetComponent<ShopPanel>()._shopGroupWidgetType1s[1] as ShopGroupWidgetType1)
+                ._shopItemWidgetType2s[4].own;
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+            await pgm.ConfigLogic(705, delegate() { });
+
+            pgm.SetFingerPos(localPos);
+            pgm.SetFingerVisiable(true);
+        }
+
+
+        /// <summary>
+        /// 点击购买
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep706(UnityEngine.Object obj)
+        {
+            GameObject gameObject =
+                UIManager.Instance.GetComponent<ShopBuyItemPanel>().Btn_Function.gameObject;
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+            await pgm.ConfigLogic(706, delegate() { });
+
+            pgm.SetFingerPos(localPos);
+            pgm.SetFingerVisiable(true);
+
+            UIManager.Instance.HideUIUIPanel<ShopPanel>();
+        }
+
+        public async CTask OnStepEnd(UnityEngine.Object obj)
+        {
+            pgm.StepInit();
+            pgm.SetBlackBaseVisiable(false);
+            ForceGuideOver();
+        }
+
+        /// <summary>
+        /// 引导完成
+        /// </summary>
+        private void ForceGuideOver()
+        {
+            pgm.CloseForceGuide();
+            pgm.RestGuide();
+        }
+    }
+}

+ 3 - 0
Assets/Scripts/GameUI/UI/GuidePanel/Phases/Phase7.cs.meta

@@ -0,0 +1,3 @@
+fileFormatVersion: 2
+guid: f6d08edab48e42df969c1c84b08376bd
+timeCreated: 1760927820

+ 143 - 0
Assets/Scripts/GameUI/UI/GuidePanel/Phases/Phase8.cs

@@ -0,0 +1,143 @@
+using Fort23.Core;
+using Fort23.UTool;
+using GameLogic.Combat;
+using GameLogic.Combat.CombatTool;
+using UnityEngine;
+using UnityEngine.UI;
+
+namespace Fort23.Mono.Phases
+{
+    public class Phase8 : IGuideLogic
+    {
+        public PlayerGuideManager pgm;
+
+        private bool once = false;
+
+        public Phase8(PlayerGuideManager guideManager)
+        {
+            this.pgm = guideManager;
+            once = true;
+        }
+
+        public override void Active()
+        {
+            base.Active();
+            actionList.Add(OnStep801);
+            actionList.Add(OnStep802);
+            actionList.Add(OnStep803);
+            actionList.Add(OnStepEnd);
+        }
+
+        public override void Begin()
+        {
+            guideID = 8;
+            guideIdx = -1;
+            pgm.isForceDone = false;
+            pgm.isTriggerDone = false;
+        }
+
+        public override void End()
+        {
+        }
+
+        public override async CTask Guide()
+        {
+            if (actionList.Count > guideIdx)
+            {
+                pgm.ResetPlayerGuide();
+                guideIdx++;
+
+
+                SaveStep(guideIdx);
+                await actionList[guideIdx](null);
+            }
+            else
+            {
+                LogTool.Error("没有引导了,强制结束。出错步骤,:" + pgm.curPhase + guideIdx);
+                pgm.isForceDone = true;
+            }
+        }
+
+        public override void LogicRelase()
+        {
+            actionList.Clear();
+        }
+
+        public override void LogicUpdate()
+        {
+        }
+
+
+        /// <summary>
+        /// 点击宝箱
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep801(UnityEngine.Object obj)
+        {
+            pgm.StepInit();
+            await TimerComponent.Instance.WaitAsync(100);
+            GameObject gameObject = UIManager.Instance.GetComponent<MainPanel>().Btn_Box.gameObject;
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+            await pgm.ConfigLogic(801, delegate() { });
+
+            pgm.SetFingerPos(localPos);
+            pgm.SetFingerVisiable(true);
+        }
+
+        /// <summary>
+        /// 点十连抽
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep802(UnityEngine.Object obj)
+        {
+            pgm.StepInit();
+            await TimerComponent.Instance.WaitAsync(100);
+            GameObject gameObject = UIManager.Instance.GetComponent<BoxPanel>().tenButton.gameObject;
+            Vector3 localPos = pgm.WorldPosToLocalPos(gameObject.transform.position);
+            Vector2 size = gameObject.GetComponent<RectTransform>().sizeDelta;
+
+            pgm.SetfxTransVisiable(true);
+            pgm.SetMaskTarget(gameObject);
+            pgm.SetShowFramePosAndSize(localPos, size, 0, gameObject);
+            await pgm.ConfigLogic(602, delegate() { });
+
+            pgm.SetFingerPos(localPos);
+            pgm.SetFingerVisiable(true);
+        }
+
+        /// <summary>
+        /// 点空关闭
+        /// </summary>
+        /// <param name="obj"></param>
+        public async CTask OnStep803(UnityEngine.Object obj)
+        {
+            pgm.StepInit();
+
+            await pgm.ConfigLogic(803, delegate() { pgm.NextGuide(); });
+            UIManager.Instance.HideUIUIPanel<GachaPanel>();
+
+            UIManager.Instance.HideUIUIPanel<BoxPanel>();
+        }
+
+        public async CTask OnStepEnd(UnityEngine.Object obj)
+        {
+            pgm.StepInit();
+            pgm.SetBlackBaseVisiable(false);
+            ForceGuideOver();
+        }
+
+        /// <summary>
+        /// 引导完成
+        /// </summary>
+        private void ForceGuideOver()
+        {
+            pgm.CloseForceGuide();
+            pgm.RestGuide();
+        }
+    }
+}

+ 3 - 0
Assets/Scripts/GameUI/UI/GuidePanel/Phases/Phase8.cs.meta

@@ -0,0 +1,3 @@
+fileFormatVersion: 2
+guid: 451f71e7d0e64d89833381200b3031dc
+timeCreated: 1760929143

+ 5 - 0
Assets/Scripts/GameUI/UI/HeroInformationPanel/CaveMainPanel.cs

@@ -41,6 +41,11 @@ namespace Fort23.Mono
 		{
 			AppBarPanel.OpenPanel(this);
 			TitlePanel.OpenPanel();
+			
+			if (PlayerGuideManager.Instance.GuideIsCanDo(6, 1))
+			{
+				PlayerGuideManager.Instance.NextGuide();
+			}
 		
 			return base.GetFocus();
 		}

+ 8 - 0
Assets/Scripts/GameUI/UI/HeroInformationPanel/HeroInformationPanel.cs

@@ -43,6 +43,10 @@ namespace Fort23.Mono
         {
             AppBarPanel.ClosePanel();
             TitlePanel.OpenPanel();
+            if (PlayerGuideManager.Instance.GuideIsCanDo(6, 2))
+            {
+                PlayerGuideManager.Instance.NextGuide();
+            }
             return base.GetFocus();
         }
 
@@ -138,6 +142,10 @@ namespace Fort23.Mono
                         fx_ui_tupo1.gameObject.SetActive(false);
                         MarskPanel.ClosePanel();
                         HeroBreakthroughSuccessPanel.OpenPanel(1, heroAttributData);
+                        if (PlayerGuideManager.Instance.GuideIsCanDo(6, 3))
+                        {
+                            PlayerGuideManager.Instance.NextGuide();
+                        }
 
                         AudioManager.Instance.PlayAudio("ui_shengji.wav");
                     }

+ 10 - 0
Assets/Scripts/GameUI/UI/MainPanel/MainPanel.cs

@@ -71,11 +71,21 @@ namespace Fort23.Mono
                 {
                     await PlayerGuideManager.Instance.SetGuid(1);
                 }
+                
+                if (PlayerGuideManager.Instance.GuideIsCanDo(8))
+                {
+                    await PlayerGuideManager.Instance.SetGuid(8);
+                }
 
                 if (PlayerGuideManager.Instance.GuideIsCanDo(4))
                 {
                     await PlayerGuideManager.Instance.SetGuid(4);
                 }
+
+                if (EventSystemManager.Instance.IsEventTrigger(10003) && PlayerGuideManager.Instance.GuideIsCanDo(6))
+                {
+                    await PlayerGuideManager.Instance.SetGuid(6);
+                }
             }
         }
 

+ 14 - 0
Assets/Scripts/GameUI/UI/ShopPanel/ShopBuyItemPanel.cs

@@ -27,6 +27,15 @@ namespace Fort23.Mono
         {
         }
 
+        public override CTask GetFocus()
+        {
+            if (PlayerGuideManager.Instance.GuideIsCanDo(7, 5))
+            {
+                PlayerGuideManager.Instance.NextGuide();
+            }
+            return base.GetFocus();
+        }
+
         public async void CustomInit(AccountFileInfo.ShopItem shopItem, Action<bool, int> callback)
         {
             _buyMark = false;
@@ -147,6 +156,11 @@ namespace Fort23.Mono
         {
             _buyMark = true;
             UIManager.Instance.HideUIUIPanel(this);
+            
+            if (PlayerGuideManager.Instance.GuideIsCanDo(7, 6))
+            {
+                PlayerGuideManager.Instance.NextGuide();
+            }
         }
 
         private void Reduce()

+ 13 - 1
Assets/Scripts/GameUI/UI/ShopPanel/ShopGachaPanel.cs

@@ -32,6 +32,10 @@ namespace Fort23.Mono
         {
             AppBarPanel.ClosePanel();
             TitlePanel.ClosePanel();
+            if (PlayerGuideManager.Instance.GuideIsCanDo(7, 2))
+            {
+                PlayerGuideManager.Instance.NextGuide();
+            }
             return base.GetFocus();
         }
 
@@ -85,7 +89,15 @@ namespace Fort23.Mono
                 // UIManager.Instance.HideUIUIPanel<ShopGachaPanel>();
             });
 
-            Btn_LingQu.onClick.AddListener(() => { UIManager.Instance.HideUIUIPanel<ShopGachaPanel>(); });
+            Btn_LingQu.onClick.AddListener(() =>
+            {
+                UIManager.Instance.HideUIUIPanel<ShopGachaPanel>();
+                
+                if (PlayerGuideManager.Instance.GuideIsCanDo(7, 3))
+                {
+                    PlayerGuideManager.Instance.NextGuide();
+                }
+            });
         }
 
         public async override CTask<bool> AsyncInit(object[] uiData)

+ 2 - 2
Assets/Scripts/GameUI/UI/ShopPanel/ShopGroupWidgetType1.cs

@@ -12,8 +12,8 @@ namespace Fort23.Mono
     {
         AccountFileInfo.ShopData shopData;
 
-        List<ShopItemWidgetType1> _shopItemWidgetType1s = new List<ShopItemWidgetType1>();
-        List<ShopItemWidgetType2> _shopItemWidgetType2s = new List<ShopItemWidgetType2>();
+        public List<ShopItemWidgetType1> _shopItemWidgetType1s = new List<ShopItemWidgetType1>();
+        public List<ShopItemWidgetType2> _shopItemWidgetType2s = new List<ShopItemWidgetType2>();
 
         private ShopConfig _shopConfig;
 

+ 19 - 4
Assets/Scripts/GameUI/UI/ShopPanel/ShopPanel.cs

@@ -15,12 +15,12 @@ namespace Fort23.Mono
     {
         private List<AccountFileInfo.ShopData> _shopDatas;
 
-        private List<UIComponent> _shopGroupWidgetType1s = new List<UIComponent>();
+        public List<UIComponent> _shopGroupWidgetType1s = new List<UIComponent>();
 
         // List<EnergyWidget> _energyWidgets = new List<EnergyWidget>();
         ShopBtnWidget currentSelectedShopBtnWidget;
 
-        List<ShopBtnWidget> _shopBtnWidgets = new List<ShopBtnWidget>();
+        public List<ShopBtnWidget> _shopBtnWidgets = new List<ShopBtnWidget>();
 
         private int shopId;
 
@@ -42,7 +42,7 @@ namespace Fort23.Mono
         }
 
 
-        public override CTask GetFocus()
+        public async override CTask GetFocus()
         {
             AppBarPanel.OpenPanel(this);
             if (currentSelectedShopBtnWidget == null)
@@ -70,7 +70,12 @@ namespace Fort23.Mono
                 currentSelectedShopBtnWidget.OnPointerClick();
             }
 
-            return base.GetFocus();
+            if (PlayerGuideManager.Instance.GuideIsCanDo(7))
+            {
+                await PlayerGuideManager.Instance.SetGuid(7);
+            }
+
+            base.GetFocus();
         }
 
         public override CTask LoseFocus()
@@ -166,6 +171,16 @@ namespace Fort23.Mono
                     }
                 }
             }
+
+
+            if (PlayerGuideManager.Instance.GuideIsCanDo(7, 1))
+            {
+                PlayerGuideManager.Instance.NextGuide();
+            }
+            if (PlayerGuideManager.Instance.GuideIsCanDo(7, 4))
+            {
+                PlayerGuideManager.Instance.NextGuide();
+            }
         }
 
 

二进制
Excel2Json/Excel/Language.xlsx


二进制
Excel2Json/Excel/PlayerGuide.xlsx


+ 25 - 25
UserSettings/Layouts/default-2022.dwlt

@@ -19,7 +19,7 @@ MonoBehaviour:
     width: 2560
     height: 1349
   m_ShowMode: 4
-  m_Title: Inspector
+  m_Title: Hierarchy
   m_RootView: {fileID: 2}
   m_MinSize: {x: 875, y: 492}
   m_MaxSize: {x: 10000, y: 10000}
@@ -100,7 +100,7 @@ MonoBehaviour:
   m_MinSize: {x: 400, y: 100}
   m_MaxSize: {x: 32384, y: 16192}
   vertical: 0
-  controlID: 146
+  controlID: 52
   draggingID: 0
 --- !u!114 &5
 MonoBehaviour:
@@ -147,7 +147,7 @@ MonoBehaviour:
   m_MinSize: {x: 100, y: 100}
   m_MaxSize: {x: 8096, y: 16192}
   vertical: 1
-  controlID: 24
+  controlID: 29
   draggingID: 0
 --- !u!114 &7
 MonoBehaviour:
@@ -220,8 +220,8 @@ MonoBehaviour:
     y: 0
     width: 577
     height: 1299
-  m_MinSize: {x: 275, y: 50}
-  m_MaxSize: {x: 4000, y: 4000}
+  m_MinSize: {x: 276, y: 71}
+  m_MaxSize: {x: 4001, y: 4021}
   m_ActualView: {fileID: 13}
   m_Panes:
   - {fileID: 13}
@@ -246,8 +246,8 @@ MonoBehaviour:
     y: 0
     width: 1211
     height: 287
-  m_MinSize: {x: 200, y: 200}
-  m_MaxSize: {x: 4000, y: 4000}
+  m_MinSize: {x: 201, y: 221}
+  m_MaxSize: {x: 4001, y: 4021}
   m_ActualView: {fileID: 16}
   m_Panes:
   - {fileID: 16}
@@ -272,8 +272,8 @@ MonoBehaviour:
     y: 287
     width: 1211
     height: 1012
-  m_MinSize: {x: 200, y: 200}
-  m_MaxSize: {x: 4000, y: 4000}
+  m_MinSize: {x: 201, y: 221}
+  m_MaxSize: {x: 4001, y: 4021}
   m_ActualView: {fileID: 15}
   m_Panes:
   - {fileID: 15}
@@ -316,23 +316,23 @@ MonoBehaviour:
   m_SceneHierarchy:
     m_TreeViewState:
       scrollPos: {x: 0, y: 0}
-      m_SelectedIDs: f0b10000
+      m_SelectedIDs: 
       m_LastClickedID: 0
-      m_ExpandedIDs: 3e88e3ffa889e3ffde89e3ffe689e3ffec89e3ff288ae3ffc8c1e3ffcec1e3ffcec2e3ff12c3e3ff16c3e3ff1ac3e3ff28c3e3ffaa95e6ff5afaffff
+      m_ExpandedIDs: 78faffff
       m_RenameOverlay:
         m_UserAcceptedRename: 0
-        m_Name: root
-        m_OriginalName: root
+        m_Name: 
+        m_OriginalName: 
         m_EditFieldRect:
           serializedVersion: 2
           x: 0
           y: 0
           width: 0
           height: 0
-        m_UserData: -1850700
+        m_UserData: 0
         m_IsWaitingForDelay: 0
         m_IsRenaming: 0
-        m_OriginalEventType: 0
+        m_OriginalEventType: 11
         m_IsRenamingFilename: 0
         m_ClientGUIView: {fileID: 7}
       m_SearchString: 
@@ -424,7 +424,7 @@ MonoBehaviour:
     m_SaveData: []
     m_OverlaysVisible: 1
   m_SearchFilter:
-    m_NameFilter: gamerun
+    m_NameFilter: 
     m_ClassNames: []
     m_AssetLabels: []
     m_AssetBundleNames: []
@@ -434,24 +434,24 @@ MonoBehaviour:
     m_SkipHidden: 0
     m_SearchArea: 1
     m_Folders:
-    - Assets/Res/UI/SkillSelectPanel
+    - Assets/Resources
     m_Globs: []
-    m_OriginalText: gamerun
+    m_OriginalText: 
     m_ImportLogFlags: 0
     m_FilterByTypeIntersection: 0
   m_ViewMode: 1
   m_StartGridSize: 16
   m_LastFolders:
-  - Assets/Res/UI/SkillSelectPanel
+  - Assets/Resources
   m_LastFoldersGridSize: 16
   m_LastProjectPath: D:\FB\XiuXianGame
   m_LockTracker:
     m_IsLocked: 0
   m_FolderTreeState:
-    scrollPos: {x: 0, y: 895}
-    m_SelectedIDs: b44a0100
-    m_LastClickedID: 84660
-    m_ExpandedIDs: 000000005acb00005ccb00005ecb000060cb000062cb000064cb000066cb000068cb00006acb00006ccb00006ecb000070cb00004ace000058ce0000cc720200ce72020000ca9a3b
+    scrollPos: {x: 0, y: 0}
+    m_SelectedIDs: 7ace0000
+    m_LastClickedID: 52858
+    m_ExpandedIDs: 00000000f8cd0000facd0000fccd0000fecd000000ce000002ce000004ce000008ce00000ace00000cce000072ce000000ca9a3b
     m_RenameOverlay:
       m_UserAcceptedRename: 0
       m_Name: 
@@ -479,7 +479,7 @@ MonoBehaviour:
     scrollPos: {x: 0, y: 0}
     m_SelectedIDs: 
     m_LastClickedID: 0
-    m_ExpandedIDs: 000000005acb00005ccb00005ecb000060cb000062cb000064cb000066cb000068cb00006acb00006ccb00006ecb000070cb0000
+    m_ExpandedIDs: 00000000f8cd0000facd0000fccd0000fecd000000ce000002ce000004ce000006ce000008ce00000ace00000cce00000ece0000
     m_RenameOverlay:
       m_UserAcceptedRename: 0
       m_Name: 
@@ -1089,7 +1089,7 @@ MonoBehaviour:
     m_OcclusionCulling: 0
     m_EnableGDRP: 1
     m_BackfaceCulling: 0
-  m_LastSceneViewRotation: {x: -0.04060729, y: 0.77738255, z: -0.05045266, w: -0.62568647}
+  m_LastSceneViewRotation: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226}
   m_LastSceneViewOrtho: 0
   m_ReplacementShader: {fileID: 0}
   m_ReplacementString: