fix:1、UI更换(全部更换完)
This commit is contained in:
@@ -8,9 +8,6 @@ namespace FGUI.ZM_Game_04
|
||||
{
|
||||
public static void BindAll()
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(com_game_menu.URL, typeof(com_game_menu));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_exit.URL, typeof(btn_exit));
|
||||
UIObjectFactory.SetPackageItemExtension(btn_set.URL, typeof(btn_set));
|
||||
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));
|
||||
|
||||
@@ -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_Game_04
|
||||
{
|
||||
public partial class btn_exit : GButton
|
||||
{
|
||||
public GTextField text_exit;
|
||||
public const string URL = "ui://g3iqdlgc9wz11d";
|
||||
|
||||
public static btn_exit CreateInstance()
|
||||
{
|
||||
return (btn_exit)UIPackage.CreateObject("ZM_Game_04", "btn_exit");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
text_exit = (GTextField)GetChildAt(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9953ee9b5c32048b18cc5586269eaa3c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -23,9 +23,9 @@ namespace FGUI.ZM_Game_04
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
prop = GetControllerAt(0);
|
||||
number_text = (GTextField)GetChildAt(5);
|
||||
img_add = (GImage)GetChildAt(6);
|
||||
ani_parent = (GGraph)GetChildAt(8);
|
||||
number_text = (GTextField)GetChildAt(4);
|
||||
img_add = (GImage)GetChildAt(5);
|
||||
ani_parent = (GGraph)GetChildAt(7);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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_Game_04
|
||||
{
|
||||
public partial class btn_set : GButton
|
||||
{
|
||||
public GTextField text_set;
|
||||
public const string URL = "ui://g3iqdlgc9wz11e";
|
||||
|
||||
public static btn_set CreateInstance()
|
||||
{
|
||||
return (btn_set)UIPackage.CreateObject("ZM_Game_04", "btn_set");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
text_set = (GTextField)GetChildAt(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7c372980445904e95b373f26a433b323
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,33 +0,0 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.ZM_Game_04
|
||||
{
|
||||
public partial class com_game_menu : GComponent
|
||||
{
|
||||
public btn_exit btn_exit;
|
||||
public btn_set btn_settings;
|
||||
public GGroup node;
|
||||
public Transition show;
|
||||
public Transition hide;
|
||||
public const string URL = "ui://g3iqdlgc9wz116";
|
||||
|
||||
public static com_game_menu CreateInstance()
|
||||
{
|
||||
return (com_game_menu)UIPackage.CreateObject("ZM_Game_04", "com_game_menu");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
btn_exit = (btn_exit)GetChildAt(1);
|
||||
btn_settings = (btn_set)GetChildAt(2);
|
||||
node = (GGroup)GetChildAt(3);
|
||||
show = GetTransitionAt(0);
|
||||
hide = GetTransitionAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 379efd07b3dfc4ba7a193bcf4e665ba3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -7,10 +7,10 @@ namespace FGUI.ZM_Game_04
|
||||
{
|
||||
public partial class com_open : GComponent
|
||||
{
|
||||
public GImage bg;
|
||||
public GTextField text_level;
|
||||
public GGraph tips_node;
|
||||
public GGraph tips_node1;
|
||||
public Transition t0;
|
||||
public const string URL = "ui://g3iqdlgcopwg13";
|
||||
|
||||
public static com_open CreateInstance()
|
||||
@@ -22,10 +22,10 @@ namespace FGUI.ZM_Game_04
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
bg = (GImage)GetChildAt(0);
|
||||
text_level = (GTextField)GetChildAt(1);
|
||||
tips_node = (GGraph)GetChildAt(2);
|
||||
tips_node1 = (GGraph)GetChildAt(3);
|
||||
text_level = (GTextField)GetChildAt(3);
|
||||
tips_node = (GGraph)GetChildAt(4);
|
||||
tips_node1 = (GGraph)GetChildAt(5);
|
||||
t0 = GetTransitionAt(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -19,7 +19,7 @@ namespace FGUI.ZM_Game_04
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
text_level = (GTextField)GetChildAt(1);
|
||||
text_level = (GTextField)GetChildAt(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user