换皮
This commit is contained in:
@@ -9,6 +9,7 @@ namespace FGUI.Game_04
|
||||
public static void BindAll()
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(com_game_menu.URL, typeof(com_game_menu));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_continue.URL, typeof(btn_continue));
|
||||
UIObjectFactory.SetPackageItemExtension(com_rewardbox.URL, typeof(com_rewardbox));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_look_ad.URL, typeof(btn_look_ad));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_prop.URL, typeof(btn_prop));
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Game_04
|
||||
{
|
||||
public partial class btn_continue : GButton
|
||||
{
|
||||
public GTextField text_set;
|
||||
public const string URL = "ui://g3iqdlgca7mc44";
|
||||
|
||||
public static btn_continue CreateInstance()
|
||||
{
|
||||
return (btn_continue)UIPackage.CreateObject("Game_04", "btn_continue");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
text_set = (GTextField)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 52e278f28d5652b4cbaf3ab10a4d47d9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -24,7 +24,6 @@ namespace FGUI.Game_04
|
||||
public GButton btn_three_day;
|
||||
public GButton btn_failpack;
|
||||
public GButton btn_gold;
|
||||
public GGroup top_group;
|
||||
public const string URL = "ui://g3iqdlgcopwgw";
|
||||
|
||||
public static com_game CreateInstance()
|
||||
@@ -36,24 +35,23 @@ namespace FGUI.Game_04
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
slot = (GComponent)GetChildAt(1);
|
||||
out_parent = (GGraph)GetChildAt(2);
|
||||
btn_add = (btn_add)GetChildAt(3);
|
||||
btn_back = (btn_prop)GetChildAt(4);
|
||||
btn_remove = (btn_prop)GetChildAt(5);
|
||||
btn_refresh = (btn_prop)GetChildAt(6);
|
||||
btn_look_ad = (GButton)GetChildAt(7);
|
||||
btn_saveingpot = (GButton)GetChildAt(8);
|
||||
btn_close = (GButton)GetChildAt(11);
|
||||
text_level = (GTextField)GetChildAt(12);
|
||||
btn_money = (GComponent)GetChildAt(13);
|
||||
btn_rank = (GButton)GetChildAt(14);
|
||||
btn_task_pass = (GButton)GetChildAt(16);
|
||||
btn_noads = (GButton)GetChildAt(17);
|
||||
btn_three_day = (GButton)GetChildAt(19);
|
||||
btn_failpack = (GButton)GetChildAt(20);
|
||||
btn_gold = (GButton)GetChildAt(22);
|
||||
top_group = (GGroup)GetChildAt(23);
|
||||
slot = (GComponent)GetChildAt(0);
|
||||
out_parent = (GGraph)GetChildAt(1);
|
||||
btn_add = (btn_add)GetChildAt(2);
|
||||
btn_back = (btn_prop)GetChildAt(3);
|
||||
btn_remove = (btn_prop)GetChildAt(4);
|
||||
btn_refresh = (btn_prop)GetChildAt(5);
|
||||
btn_look_ad = (GButton)GetChildAt(6);
|
||||
btn_saveingpot = (GButton)GetChildAt(7);
|
||||
btn_close = (GButton)GetChildAt(9);
|
||||
text_level = (GTextField)GetChildAt(10);
|
||||
btn_money = (GComponent)GetChildAt(11);
|
||||
btn_rank = (GButton)GetChildAt(12);
|
||||
btn_task_pass = (GButton)GetChildAt(13);
|
||||
btn_noads = (GButton)GetChildAt(14);
|
||||
btn_three_day = (GButton)GetChildAt(16);
|
||||
btn_failpack = (GButton)GetChildAt(17);
|
||||
btn_gold = (GButton)GetChildAt(19);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,9 +8,9 @@ namespace FGUI.Game_04
|
||||
public partial class com_game_menu : GComponent
|
||||
{
|
||||
public GTextField title;
|
||||
public GButton btn_resume;
|
||||
public GButton btn_close;
|
||||
public btn_exit btn_exit;
|
||||
public btn_continue btn_resume;
|
||||
public const string URL = "ui://g3iqdlgc9wz116";
|
||||
|
||||
public static com_game_menu CreateInstance()
|
||||
@@ -22,10 +22,10 @@ namespace FGUI.Game_04
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
title = (GTextField)GetChildAt(1);
|
||||
btn_resume = (GButton)GetChildAt(2);
|
||||
title = (GTextField)GetChildAt(2);
|
||||
btn_close = (GButton)GetChildAt(3);
|
||||
btn_exit = (btn_exit)GetChildAt(4);
|
||||
btn_resume = (btn_continue)GetChildAt(6);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user