fix:1、UI更换(全部更换完)
This commit is contained in:
@@ -8,12 +8,10 @@ namespace FGUI.ZM_store_17
|
||||
{
|
||||
public static void BindAll()
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(btn_get.URL, typeof(btn_get));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_buy.URL, typeof(btn_buy));
|
||||
UIObjectFactory.SetPackageItemExtension(buygold_item.URL, typeof(buygold_item));
|
||||
UIObjectFactory.SetPackageItemExtension(com_buygold.URL, typeof(com_buygold));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_watchAd1.URL, typeof(btn_watchAd1));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_close.URL, typeof(btn_close));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,7 @@ namespace FGUI.ZM_store_17
|
||||
public partial class btn_buy : GButton
|
||||
{
|
||||
public Controller can_buy;
|
||||
public Controller index;
|
||||
public GTextField btn_text;
|
||||
public const string URL = "ui://5crzgdh6d3a90";
|
||||
|
||||
@@ -21,6 +22,7 @@ namespace FGUI.ZM_store_17
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
can_buy = GetControllerAt(0);
|
||||
index = GetControllerAt(1);
|
||||
btn_text = (GTextField)GetChildAt(2);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.ZM_store_17
|
||||
{
|
||||
public partial class btn_close : GButton
|
||||
{
|
||||
public Controller can_buy;
|
||||
public const string URL = "ui://5crzgdh6wgo41q";
|
||||
|
||||
public static btn_close CreateInstance()
|
||||
{
|
||||
return (btn_close)UIPackage.CreateObject("ZM_store_17", "btn_close");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
can_buy = GetControllerAt(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3b61d0e12945e0f44aa3825351686544
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,25 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.ZM_store_17
|
||||
{
|
||||
public partial class btn_get : GButton
|
||||
{
|
||||
public Controller state;
|
||||
public const string URL = "ui://5crzgdh69aez2i";
|
||||
|
||||
public static btn_get CreateInstance()
|
||||
{
|
||||
return (btn_get)UIPackage.CreateObject("ZM_store_17", "btn_get");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
state = GetControllerAt(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 11e562194f2f6fa46812f2d5a4656ce8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -9,10 +9,6 @@ namespace FGUI.ZM_store_17
|
||||
{
|
||||
public Controller index;
|
||||
public GTextField coin_text;
|
||||
public GTextField off_text;
|
||||
public GTextField content_text;
|
||||
public GGroup discount;
|
||||
public GTextField text_tips;
|
||||
public btn_buy btn_buy;
|
||||
public GTextField text_ads;
|
||||
public const string URL = "ui://5crzgdh6d3a91";
|
||||
@@ -28,12 +24,8 @@ namespace FGUI.ZM_store_17
|
||||
|
||||
index = GetControllerAt(0);
|
||||
coin_text = (GTextField)GetChildAt(1);
|
||||
off_text = (GTextField)GetChildAt(4);
|
||||
content_text = (GTextField)GetChildAt(5);
|
||||
discount = (GGroup)GetChildAt(6);
|
||||
text_tips = (GTextField)GetChildAt(7);
|
||||
btn_buy = (btn_buy)GetChildAt(8);
|
||||
text_ads = (GTextField)GetChildAt(9);
|
||||
btn_buy = (btn_buy)GetChildAt(3);
|
||||
text_ads = (GTextField)GetChildAt(4);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,6 @@ namespace FGUI.ZM_store_17
|
||||
public GButton top_gold;
|
||||
public GTextField text_my_ads;
|
||||
public btn_watchAd1 btn_watch;
|
||||
public GGroup panel_ad;
|
||||
public GButton btn_close;
|
||||
public const string URL = "ui://5crzgdh6d3a92";
|
||||
|
||||
@@ -27,13 +26,12 @@ namespace FGUI.ZM_store_17
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
pay_type = GetControllerAt(0);
|
||||
com_head = (GButton)GetChildAt(3);
|
||||
gold_list = (GList)GetChildAt(4);
|
||||
top_gold = (GButton)GetChildAt(6);
|
||||
text_my_ads = (GTextField)GetChildAt(8);
|
||||
btn_watch = (btn_watchAd1)GetChildAt(9);
|
||||
panel_ad = (GGroup)GetChildAt(11);
|
||||
btn_close = (GButton)GetChildAt(13);
|
||||
com_head = (GButton)GetChildAt(1);
|
||||
gold_list = (GList)GetChildAt(2);
|
||||
top_gold = (GButton)GetChildAt(3);
|
||||
text_my_ads = (GTextField)GetChildAt(5);
|
||||
btn_watch = (btn_watchAd1)GetChildAt(6);
|
||||
btn_close = (GButton)GetChildAt(7);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user