浏览代码

合成提示

zhaoyang 2 年之前
父节点
当前提交
82149d54ac

+ 2 - 2
FGUIProject/assets/ClothingSynthetic/ClothingSyntheticUI.xml

@@ -4,7 +4,7 @@
     <loader id="n45_gbqo" name="loaBg" xy="540,960" pivot="0.5,0.5" anchor="true" size="1080,2400" fill="scaleMatchWidth">
     <loader id="n45_gbqo" name="loaBg" xy="540,960" pivot="0.5,0.5" anchor="true" size="1080,2400" fill="scaleMatchWidth">
       <relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
       <relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
     </loader>
     </loader>
-    <component id="n1_j539" name="btnBack" src="9xlo8" fileName="components/ButtonBack1.xml" pkg="eg2y0ldp" xy="35,80"/>
+    <component id="n1_j539" name="btnBack" src="9xlo8" fileName="components/BtnBack.xml" pkg="eg2y0ldp" xy="35,80"/>
     <component id="n43_g3nf" name="btnHome" src="qp4l60" fileName="components/ButtonHome.xml" pkg="eg2y0ldp" xy="35,220"/>
     <component id="n43_g3nf" name="btnHome" src="qp4l60" fileName="components/ButtonHome.xml" pkg="eg2y0ldp" xy="35,220"/>
     <component id="n2_j539" name="valueBar" src="v3541v" fileName="components/ComponentValueBar.xml" pkg="eg2y0ldp" xy="0,95" pivot="1,0" controller="c1,6"/>
     <component id="n2_j539" name="valueBar" src="v3541v" fileName="components/ComponentValueBar.xml" pkg="eg2y0ldp" xy="0,95" pivot="1,0" controller="c1,6"/>
     <component id="n40_ja9w" name="compHolder" src="ja9w1c" fileName="components/Component1.xml" xy="0,229" touchable="false">
     <component id="n40_ja9w" name="compHolder" src="ja9w1c" fileName="components/Component1.xml" xy="0,229" touchable="false">
@@ -18,7 +18,7 @@
     <group id="n46_v95q" name="n46" xy="146,343" size="78,418"/>
     <group id="n46_v95q" name="n46" xy="146,343" size="78,418"/>
     <image id="n51_v95q" name="n51" src="v95q2c" fileName="images/hc_zzjsdi.png" xy="874,575" group="n53_v95q"/>
     <image id="n51_v95q" name="n51" src="v95q2c" fileName="images/hc_zzjsdi.png" xy="874,575" group="n53_v95q"/>
     <text id="n52_v95q" name="n52" xy="911,633" size="122,41" group="n53_v95q" fontSize="30" color="#c09d6b" text="制作进度"/>
     <text id="n52_v95q" name="n52" xy="911,633" size="122,41" group="n53_v95q" fontSize="30" color="#c09d6b" text="制作进度"/>
-    <text id="n27_j539" name="txtProgress" xy="929,680" pivot="0.5,0" size="84,44" group="n53_v95q" fontSize="32" color="#d7847e" ubb="true" vars="true" text="10/20">
+    <text id="n27_j539" name="txtProgress" xy="931,680" pivot="0.5,0" size="80,44" group="n53_v95q" fontSize="32" color="#d7847e" ubb="true" vars="true" text="10/20">
       <relation target="" sidePair="center-center"/>
       <relation target="" sidePair="center-center"/>
     </text>
     </text>
     <group id="n53_v95q" name="n53" xy="874,575" size="200,200"/>
     <group id="n53_v95q" name="n53" xy="874,575" size="200,200"/>

+ 6 - 1
GameClient/Assets/Game/HotUpdate/Views/ClothingSynthetic/ClothingSyntheticView.cs

@@ -347,6 +347,11 @@ namespace GFGGame
             {
             {
                 return;
                 return;
             }
             }
+            if (ItemDataManager.GetItemNum(_selectedItemId) > 0)
+            {
+                PromptController.Instance.ShowFloatTextPrompt("该部件已制作完成");
+                return;
+            }
             int index = (int)(context.data as GObject).data;
             int index = (int)(context.data as GObject).data;
             _ui.m_listMaterias.selectedIndex = index;
             _ui.m_listMaterias.selectedIndex = index;
             ItemData itemData = _materiarsOfSelectedItem[index];
             ItemData itemData = _materiarsOfSelectedItem[index];
@@ -395,7 +400,7 @@ namespace GFGGame
             }
             }
             if (!ViewManager.CheckIsTopView(this.viewCom)) return;
             if (!ViewManager.CheckIsTopView(this.viewCom)) return;
 
 
-            int itemId = 10044;
+            int itemId = 10016;
             int itemIndex = 0;
             int itemIndex = 0;
             for (int i = 0; i < _ui.m_listClothing.numItems; i++)
             for (int i = 0; i < _ui.m_listClothing.numItems; i++)
             {
             {

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs

@@ -1056,6 +1056,9 @@ namespace GFGGame
             }
             }
             if (listTypeItem_FreedomDress != null) GuideController.TryGuide(listTypeItem_FreedomDress.target, ConstGuideId.FREEDOM_DRESS, 3, "套装分类里,可以查看集齐成套的服饰,点击一键换上。");
             if (listTypeItem_FreedomDress != null) GuideController.TryGuide(listTypeItem_FreedomDress.target, ConstGuideId.FREEDOM_DRESS, 3, "套装分类里,可以查看集齐成套的服饰,点击一键换上。");
             GuideController.TryGuide(_ui.m_partsList.m_list, ConstGuideId.FREEDOM_DRESS, 4, "", 0);
             GuideController.TryGuide(_ui.m_partsList.m_list, ConstGuideId.FREEDOM_DRESS, 4, "", 0);
+            UI_PartsListItem listItem = UI_PartsListItem.Proxy(_ui.m_partsList.m_list.GetChildAt(0).asCom);
+            GuideController.TryGuide(listItem.m_comAxtionSelect.m_btnNormal, ConstGuideId.FREEDOM_DRESS, 3, "选择普通动作并穿上。");
+            UI_PartsListItem.ProxyEnd();
             GuideController.TryGuide(_ui.m_btnSave, ConstGuideId.FREEDOM_DRESS, 5, "搭配好的服饰,可以保存到主界面显示。");
             GuideController.TryGuide(_ui.m_btnSave, ConstGuideId.FREEDOM_DRESS, 5, "搭配好的服饰,可以保存到主界面显示。");
             GuideController.TryGuide(_ui.m_btnPhoto, ConstGuideId.FREEDOM_DRESS, 6, "辛苦搭配完,去拍个照片留念呀~~");
             GuideController.TryGuide(_ui.m_btnPhoto, ConstGuideId.FREEDOM_DRESS, 6, "辛苦搭配完,去拍个照片留念呀~~");
 
 

二进制
GameClient/Assets/ResIn/UI/ClothingSynthetic/ClothingSynthetic_fui.bytes