Browse Source

恭喜升星去掉黑线

huangxiaoyue 1 year ago
parent
commit
3d2a0d601b

+ 0 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Card/UI_CardUpUI.cs

@@ -8,7 +8,6 @@ namespace UI.Card
     {
         public GComponent target;
         public Controller m_c1;
-        public GGraph m_bgTouch;
         public GGraph m_holderBgCom;
         public GGraph m_holderTitle;
         public GTextField m_txtLast;
@@ -65,7 +64,6 @@ namespace UI.Card
         private void Init(GComponent comp)
         {
             m_c1 = comp.GetController("c1");
-            m_bgTouch = (GGraph)comp.GetChild("bgTouch");
             m_holderBgCom = (GGraph)comp.GetChild("holderBgCom");
             m_holderTitle = (GGraph)comp.GetChild("holderTitle");
             m_txtLast = (GTextField)comp.GetChild("txtLast");
@@ -78,7 +76,6 @@ namespace UI.Card
         public void Dispose(bool disposeTarget = false)
         {
             m_c1 = null;
-            m_bgTouch = null;
             m_holderBgCom = null;
             m_holderTitle = null;
             m_txtLast = null;

+ 3 - 1
GameClient/Assets/Game/HotUpdate/Views/Card/CardUpView.cs

@@ -37,13 +37,15 @@ namespace GFGGame
         protected override void OnInit()
         {
             base.OnInit();
+            packageName = UI_CardUpUI.PACKAGE_NAME;
             _ui = UI_CardUpUI.Create();
             this.viewCom = _ui.target;
             this.viewCom.Center();
             this.modal = true;
+            this.isfullScreen = true;
 
             //MakeFullScreen(_ui);
-            _ui.m_bgTouch.onClick.Add(OnBackClick);
+            _ui.target.onClick.Add(OnBackClick);
             _ui.m_listProperty.itemRenderer = RenderListPropertyItem;
             _ui.m_listLastProperty.itemRenderer = RenderListLastPropertyItem;
             _ui.m_listCardProperty.itemRenderer = RenderListCardPropertyItem;

BIN
GameClient/Assets/ResIn/UI/Card/Card_fui.bytes