Эх сурвалжийг харах

词牌界面升星增加动效

huangxiaoyue 1 жил өмнө
parent
commit
108be389c3

+ 6 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Card/UI_ComDodgeStar.cs

@@ -8,6 +8,8 @@ namespace UI.Card
     {
         public GComponent target;
         public Controller m_lightType;
+        public GGraph m_holderStarLight;
+        public GGraph m_holderUpStarMove;
         public const string URL = "ui://7l6lvkaym6batls";
         public const string PACKAGE_NAME = "Card";
         public const string RES_NAME = "ComDodgeStar";
@@ -56,10 +58,14 @@ namespace UI.Card
         private void Init(GComponent comp)
         {
             m_lightType = comp.GetController("lightType");
+            m_holderStarLight = (GGraph)comp.GetChild("holderStarLight");
+            m_holderUpStarMove = (GGraph)comp.GetChild("holderUpStarMove");
         }
         public void Dispose(bool disposeTarget = false)
         {
             m_lightType = null;
+            m_holderStarLight = null;
+            m_holderUpStarMove = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();