fix:1、UI更换(全部更换完)
This commit is contained in:
@@ -10,7 +10,6 @@ namespace FGUI.ZM_Pass_14
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(com_List.URL, typeof(com_List));
|
||||
UIObjectFactory.SetPackageItemExtension(com_pass_view.URL, typeof(com_pass_view));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_recive_gift.URL, typeof(btn_recive_gift));
|
||||
UIObjectFactory.SetPackageItemExtension(progress_pass.URL, typeof(progress_pass));
|
||||
UIObjectFactory.SetPackageItemExtension(com_pass_item.URL, typeof(com_pass_item));
|
||||
UIObjectFactory.SetPackageItemExtension(com_item_award.URL, typeof(com_item_award));
|
||||
|
||||
@@ -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_Pass_14
|
||||
{
|
||||
public partial class btn_recive_gift : GButton
|
||||
{
|
||||
public GImage ad_icon;
|
||||
public const string URL = "ui://wyu9msxws27hv";
|
||||
|
||||
public static btn_recive_gift CreateInstance()
|
||||
{
|
||||
return (btn_recive_gift)UIPackage.CreateObject("ZM_Pass_14", "btn_recive_gift");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
ad_icon = (GImage)GetChildAt(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3fe4f6980be5f4c98946504ea8a6bf74
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -19,7 +19,7 @@ namespace FGUI.ZM_Pass_14
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
pass_list = (GList)GetChildAt(1);
|
||||
pass_list = (GList)GetChildAt(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,6 @@ namespace FGUI.ZM_Pass_14
|
||||
public Controller state;
|
||||
public GLoader item_loader;
|
||||
public GTextField number_text;
|
||||
public GGraph anim_parent;
|
||||
public GButton btn_claim;
|
||||
public const string URL = "ui://wyu9msxws27hz";
|
||||
|
||||
@@ -27,9 +26,8 @@ namespace FGUI.ZM_Pass_14
|
||||
type = GetControllerAt(0);
|
||||
state = GetControllerAt(1);
|
||||
item_loader = (GLoader)GetChildAt(3);
|
||||
number_text = (GTextField)GetChildAt(6);
|
||||
anim_parent = (GGraph)GetChildAt(7);
|
||||
btn_claim = (GButton)GetChildAt(8);
|
||||
number_text = (GTextField)GetChildAt(4);
|
||||
btn_claim = (GButton)GetChildAt(5);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,6 @@ namespace FGUI.ZM_Pass_14
|
||||
{
|
||||
public Controller state;
|
||||
public Controller is_full;
|
||||
public GImage yuan;
|
||||
public GTextField index_text;
|
||||
public com_item_award free_item;
|
||||
public com_item_award pay_item;
|
||||
@@ -26,10 +25,9 @@ namespace FGUI.ZM_Pass_14
|
||||
|
||||
state = GetControllerAt(0);
|
||||
is_full = GetControllerAt(1);
|
||||
yuan = (GImage)GetChildAt(1);
|
||||
index_text = (GTextField)GetChildAt(2);
|
||||
free_item = (com_item_award)GetChildAt(3);
|
||||
pay_item = (com_item_award)GetChildAt(4);
|
||||
index_text = (GTextField)GetChildAt(3);
|
||||
free_item = (com_item_award)GetChildAt(4);
|
||||
pay_item = (com_item_award)GetChildAt(5);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,15 +7,13 @@ namespace FGUI.ZM_Pass_14
|
||||
{
|
||||
public partial class com_pass_view : GComponent
|
||||
{
|
||||
public btn_recive_gift btn_recive;
|
||||
public GButton btn_recive;
|
||||
public progress_pass progress_pass;
|
||||
public GTextField text_level;
|
||||
public com_List list_panel;
|
||||
public GButton btn_tips;
|
||||
public GImage top_bg;
|
||||
public GButton gold;
|
||||
public GTextField remain_time;
|
||||
public GButton head;
|
||||
public GGroup group_;
|
||||
public GButton close;
|
||||
public const string URL = "ui://wyu9msxws27h0";
|
||||
@@ -29,17 +27,15 @@ namespace FGUI.ZM_Pass_14
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
btn_recive = (btn_recive_gift)GetChildAt(6);
|
||||
progress_pass = (progress_pass)GetChildAt(7);
|
||||
text_level = (GTextField)GetChildAt(10);
|
||||
list_panel = (com_List)GetChildAt(13);
|
||||
btn_tips = (GButton)GetChildAt(14);
|
||||
top_bg = (GImage)GetChildAt(15);
|
||||
gold = (GButton)GetChildAt(16);
|
||||
remain_time = (GTextField)GetChildAt(18);
|
||||
head = (GButton)GetChildAt(20);
|
||||
group_ = (GGroup)GetChildAt(21);
|
||||
close = (GButton)GetChildAt(22);
|
||||
btn_recive = (GButton)GetChildAt(1);
|
||||
progress_pass = (progress_pass)GetChildAt(2);
|
||||
text_level = (GTextField)GetChildAt(5);
|
||||
list_panel = (com_List)GetChildAt(8);
|
||||
btn_tips = (GButton)GetChildAt(9);
|
||||
gold = (GButton)GetChildAt(10);
|
||||
remain_time = (GTextField)GetChildAt(12);
|
||||
group_ = (GGroup)GetChildAt(14);
|
||||
close = (GButton)GetChildAt(15);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user