zhaoyang hace 2 años
padre
commit
bab20512aa

+ 4 - 0
FGUIProject/assets/Main/StorySkillUI.xml

@@ -13,4 +13,8 @@
     <item time="0" type="Scale" target="n7_psph" tween="true" startValue="1,1" endValue="0,0" duration="12" ease="Linear"/>
     <item time="0" type="XY" target="n7_psph" tween="true" startValue="540,960" endValue="926,225" duration="12" ease="Linear"/>
   </transition>
+  <transition name="t2">
+    <item time="0" type="Scale" target="n7_psph" value="1,1"/>
+    <item time="0" type="XY" target="n7_psph" value="540,960"/>
+  </transition>
 </component>

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Main/UI_StorySkillUI.cs

@@ -9,6 +9,7 @@ namespace UI.Main
         public GComponent target;
         public UI_ComSkillShow m_comSkillShow;
         public Transition m_t1;
+        public Transition m_t2;
         public const string URL = "ui://mfvz4q8kpy009l";
         public const string PACKAGE_NAME = "Main";
         public const string RES_NAME = "StorySkillUI";
@@ -58,12 +59,14 @@ namespace UI.Main
         {
             m_comSkillShow = (UI_ComSkillShow)UI_ComSkillShow.Create(comp.GetChild("comSkillShow"));
             m_t1 = comp.GetTransition("t1");
+            m_t2 = comp.GetTransition("t2");
         }
         public void Dispose(bool disposeTarget = false)
         {
             m_comSkillShow.Dispose();
             m_comSkillShow = null;
             m_t1 = null;
+            m_t2 = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Views/MainStory/StorySkillView.cs

@@ -109,6 +109,7 @@ namespace GFGGame
             _ui.m_comSkillShow.m_t0.Stop(true, false);
             _ui.m_comSkillShow.m_t1.Stop(true, false);
             _ui.m_t1.Stop(true, false);
+            _ui.m_t2.Play();
             EventAgent.DispatchEvent(ConstMessage.SHOW_CARD_SKILL_END);
         }
     }

BIN
GameClient/Assets/ResIn/UI/Main/Main_fui.bytes