换皮
This commit is contained in:
@@ -9,7 +9,6 @@ namespace FGUI.P14_PassView
|
||||
public static void BindAll()
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(com_pass_view.URL, typeof(com_pass_view));
|
||||
UIObjectFactory.SetPackageItemExtension(com_pass_view_old.URL, typeof(com_pass_view_old));
|
||||
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));
|
||||
|
||||
@@ -26,10 +26,10 @@ namespace FGUI.P14_PassView
|
||||
|
||||
type = GetControllerAt(0);
|
||||
state = GetControllerAt(1);
|
||||
item_loader = (GLoader)GetChildAt(3);
|
||||
number_text = (GTextField)GetChildAt(4);
|
||||
ani_node = (GGraph)GetChildAt(7);
|
||||
btn_claim = (GButton)GetChildAt(10);
|
||||
item_loader = (GLoader)GetChildAt(4);
|
||||
number_text = (GTextField)GetChildAt(5);
|
||||
ani_node = (GGraph)GetChildAt(6);
|
||||
btn_claim = (GButton)GetChildAt(9);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,13 +8,11 @@ namespace FGUI.P14_PassView
|
||||
public partial class com_pass_item : GComponent
|
||||
{
|
||||
public Controller state;
|
||||
public Controller is_full;
|
||||
public GImage progress_0_top;
|
||||
public GImage progress_0_down;
|
||||
public GImage progress_1_top;
|
||||
public GImage progress_1_down;
|
||||
public GImage progress_2_top;
|
||||
public GImage yuan;
|
||||
public GTextField index_text;
|
||||
public com_item_award free_item;
|
||||
public com_item_award pay_item;
|
||||
@@ -30,16 +28,14 @@ namespace FGUI.P14_PassView
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
state = GetControllerAt(0);
|
||||
is_full = GetControllerAt(1);
|
||||
progress_0_top = (GImage)GetChildAt(6);
|
||||
progress_0_down = (GImage)GetChildAt(7);
|
||||
progress_1_top = (GImage)GetChildAt(8);
|
||||
progress_1_down = (GImage)GetChildAt(9);
|
||||
progress_2_top = (GImage)GetChildAt(10);
|
||||
yuan = (GImage)GetChildAt(11);
|
||||
index_text = (GTextField)GetChildAt(12);
|
||||
free_item = (com_item_award)GetChildAt(13);
|
||||
pay_item = (com_item_award)GetChildAt(14);
|
||||
progress_0_top = (GImage)GetChildAt(5);
|
||||
progress_0_down = (GImage)GetChildAt(6);
|
||||
progress_1_top = (GImage)GetChildAt(7);
|
||||
progress_1_down = (GImage)GetChildAt(8);
|
||||
progress_2_top = (GImage)GetChildAt(9);
|
||||
index_text = (GTextField)GetChildAt(11);
|
||||
free_item = (com_item_award)GetChildAt(12);
|
||||
pay_item = (com_item_award)GetChildAt(13);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -32,7 +32,7 @@ namespace FGUI.P14_PassView
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
bg = (GImage)GetChildAt(0);
|
||||
bg = (GImage)GetChildAt(1);
|
||||
gold = (GButton)GetChildAt(3);
|
||||
close = (GButton)GetChildAt(4);
|
||||
group_top = (GGroup)GetChildAt(5);
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.P14_PassView
|
||||
{
|
||||
public partial class com_pass_view_old : GComponent
|
||||
{
|
||||
public GImage bg;
|
||||
public GButton gold;
|
||||
public GButton close;
|
||||
public GGroup group_top;
|
||||
public GList pass_list;
|
||||
public GGraph ani_node;
|
||||
public GButton btn_recive;
|
||||
public progress_pass progress_pass;
|
||||
public GTextField remain_time;
|
||||
public GTextField text_level;
|
||||
public const string URL = "ui://wyu9msxws27h0";
|
||||
|
||||
public static com_pass_view_old CreateInstance()
|
||||
{
|
||||
return (com_pass_view_old)UIPackage.CreateObject("P14_PassView", "com_pass_view_old");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
bg = (GImage)GetChildAt(0);
|
||||
gold = (GButton)GetChildAt(3);
|
||||
close = (GButton)GetChildAt(4);
|
||||
group_top = (GGroup)GetChildAt(5);
|
||||
pass_list = (GList)GetChildAt(6);
|
||||
ani_node = (GGraph)GetChildAt(7);
|
||||
btn_recive = (GButton)GetChildAt(8);
|
||||
progress_pass = (progress_pass)GetChildAt(9);
|
||||
remain_time = (GTextField)GetChildAt(12);
|
||||
text_level = (GTextField)GetChildAt(14);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b03c7e41457ed4c998534e4f6f37d0ba
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -27,11 +27,11 @@ namespace FGUI.P14_PassView
|
||||
|
||||
pay_type = GetControllerAt(0);
|
||||
btn_close = (GButton)GetChildAt(1);
|
||||
text_allgold = (GTextField)GetChildAt(4);
|
||||
btn_buypass = (GButton)GetChildAt(5);
|
||||
tips = (GTextField)GetChildAt(6);
|
||||
ads = (GTextField)GetChildAt(7);
|
||||
btn_max_pay = (GButton)GetChildAt(8);
|
||||
text_allgold = (GTextField)GetChildAt(5);
|
||||
btn_buypass = (GButton)GetChildAt(6);
|
||||
tips = (GTextField)GetChildAt(7);
|
||||
ads = (GTextField)GetChildAt(8);
|
||||
btn_max_pay = (GButton)GetChildAt(9);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user