浏览代码

战斗结算表现

zhaoyang 2 年之前
父节点
当前提交
8cd3b772aa

+ 3 - 3
FGUIProject/assets/Main/StoryFightSingleScoreUI.xml

@@ -16,7 +16,7 @@
     </component>
     <component id="n42_wono" name="comScoreStage" src="wonoh2" fileName="components/ComSingleScoreStage.xml" xy="1022,108" pivot="0.5,0.5" anchor="true"/>
     <loader id="n40_wono" name="loaGlass" xy="402,823" pivot="0.5,0.5" size="274,274" scale="0,0" url="ui://mfvz4q8kwonogt" align="center" vAlign="middle"/>
-    <component id="n4_n0js" name="comClickCircle" src="n0js9b" fileName="components/comClickCircle.xml" xy="120,1439" pivot="0.5,0.5"/>
+    <component id="n4_n0js" name="comClickCircle" src="n0js9b" fileName="components/comClickCircle.xml" xy="120,1439" pivot="0.5,0.5" scale="0,0"/>
     <component id="n36_jj0m" name="btnSpeedUp" src="jj0mdl" fileName="componentsDialog/ButtonSpeedUp1.xml" xy="915,1627">
       <relation target="" sidePair="right-right,bottom-bottom"/>
       <Button title="x1"/>
@@ -49,12 +49,12 @@
     <item time="49" type="Scale" target="n4_n0js" value="0,0"/>
   </transition>
   <transition name="t2">
+    <item time="0" type="Alpha" target="n51_wono" tween="true" startValue="0" endValue="1" duration="12" ease="Linear"/>
     <item time="0" type="Scale" target="n46_wono" tween="true" startValue="0,0" endValue="1,1" duration="12" ease="Linear"/>
     <item time="0" type="Skew" target="n46_wono" tween="true" startValue="0,-180" endValue="0,0" duration="12" ease="Linear"/>
     <item time="0" type="Visible" target="n42_wono" value="false"/>
   </transition>
   <transition name="t3">
-    <item time="0" type="Alpha" target="n51_wono" value="0"/>
-    <item time="12" type="Alpha" target="n51_wono" tween="true" startValue="0" endValue="1" duration="12" ease="Linear"/>
+    <item time="0" type="Alpha" target="n51_wono" tween="true" startValue="0" endValue="1" duration="12" ease="Linear"/>
   </transition>
 </component>

+ 6 - 4
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightSingleScoreView.cs

@@ -199,15 +199,16 @@ namespace GFGGame
                 _ui.m_comRoleResult.m_comRole.m_imgRole.texture = _nTexture;
                 _ui.m_comRoleResult.m_c1.selectedIndex = 0;
                 _ui.m_LoaMask.touchable = true;
-                _ui.m_t3.Play();
+
+                _ui.m_comRoleResult.m_t0.Play();
                 _ui.m_t2.Play(() =>
                 {
                     _ui.m_comRoleResult.m_c1.selectedIndex = star;
-                    transition.Play(() =>
+                    _ui.m_comRoleResult.m_comRole.m_t0.Play(() =>
                     {
-                        _ui.m_comRoleResult.m_comRole.m_t0.Play(() =>
+                        transition.Play(() =>
                         {
-                            Timers.inst.Add(0.3f, 1, Skip);//评分结束
+                            Timers.inst.Add(0.3f, 1, Skip);//评分结束});
                         });
                     });
                 });
@@ -291,6 +292,7 @@ namespace GFGGame
             _ui.m_proScore.target.value = 0;
             _ui.m_proScore.m_txtCount.text = "总分 0";
             _ui.m_comScoreStage.target.visible = true;
+            _ui.m_comScoreStage.m_c1.selectedIndex = 0;
             _ui.m_comClickCircle.target.SetScale(0, 0);
             _ui.m_loaGlass.SetScale(0, 0);
         }

二进制
GameClient/Assets/ResIn/UI/Main/Main_fui.bytes