fix:1、修复bug
This commit is contained in:
@@ -8,6 +8,7 @@ namespace FGUI.Arrow_game
|
||||
{
|
||||
public static void BindAll()
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(com_gift.URL, typeof(com_gift));
|
||||
UIObjectFactory.SetPackageItemExtension(com_arrow_game.URL, typeof(com_arrow_game));
|
||||
UIObjectFactory.SetPackageItemExtension(ArrowEnd.URL, typeof(ArrowEnd));
|
||||
UIObjectFactory.SetPackageItemExtension(LineTile.URL, typeof(LineTile));
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace FGUI.Arrow_game
|
||||
{
|
||||
public partial class btn_watch : GButton
|
||||
{
|
||||
public Controller can;
|
||||
public GImage bg;
|
||||
public GTextField text;
|
||||
public const string URL = "ui://sjl9teijrsd4g";
|
||||
@@ -20,6 +21,7 @@ namespace FGUI.Arrow_game
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
can = GetControllerAt(0);
|
||||
bg = (GImage)GetChildAt(0);
|
||||
text = (GTextField)GetChildAt(1);
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace FGUI.Arrow_game
|
||||
public partial class com_arrow_game : GComponent
|
||||
{
|
||||
public Controller mode;
|
||||
public Controller state;
|
||||
public com_flicker com_ficker;
|
||||
public view_container_parent view_container_parent;
|
||||
public ArrorPoint point;
|
||||
@@ -17,12 +18,16 @@ namespace FGUI.Arrow_game
|
||||
public GGraph samll_point;
|
||||
public GTextField text_level;
|
||||
public com_bottom com_bottom;
|
||||
public GButton btn_signin;
|
||||
public btn_petty btn_petty;
|
||||
public btn_saveingpot btn_saveingpot;
|
||||
public GButton btn_statement;
|
||||
public GButton btn_signin;
|
||||
public GGroup panel;
|
||||
public com_finger com_finger;
|
||||
public GButton btn_wv;
|
||||
public GProgressBar ch_progress;
|
||||
public GButton com_gem;
|
||||
public com_gift com_gift;
|
||||
public Transition t1;
|
||||
public const string URL = "ui://sjl9teijrsd40";
|
||||
|
||||
@@ -36,6 +41,7 @@ namespace FGUI.Arrow_game
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
mode = GetControllerAt(0);
|
||||
state = GetControllerAt(1);
|
||||
com_ficker = (com_flicker)GetChildAt(2);
|
||||
view_container_parent = (view_container_parent)GetChildAt(3);
|
||||
point = (ArrorPoint)GetChildAt(4);
|
||||
@@ -45,12 +51,16 @@ namespace FGUI.Arrow_game
|
||||
samll_point = (GGraph)GetChildAt(8);
|
||||
text_level = (GTextField)GetChildAt(10);
|
||||
com_bottom = (com_bottom)GetChildAt(12);
|
||||
btn_petty = (btn_petty)GetChildAt(13);
|
||||
btn_saveingpot = (btn_saveingpot)GetChildAt(14);
|
||||
btn_statement = (GButton)GetChildAt(15);
|
||||
btn_signin = (GButton)GetChildAt(16);
|
||||
btn_signin = (GButton)GetChildAt(13);
|
||||
btn_petty = (btn_petty)GetChildAt(14);
|
||||
btn_saveingpot = (btn_saveingpot)GetChildAt(15);
|
||||
btn_statement = (GButton)GetChildAt(16);
|
||||
panel = (GGroup)GetChildAt(17);
|
||||
com_finger = (com_finger)GetChildAt(18);
|
||||
ch_progress = (GProgressBar)GetChildAt(19);
|
||||
btn_wv = (GButton)GetChildAt(19);
|
||||
ch_progress = (GProgressBar)GetChildAt(20);
|
||||
com_gem = (GButton)GetChildAt(21);
|
||||
com_gift = (com_gift)GetChildAt(22);
|
||||
t1 = GetTransitionAt(0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Arrow_game
|
||||
{
|
||||
public partial class com_gift : GComponent
|
||||
{
|
||||
public GTextField text_gift;
|
||||
public const string URL = "ui://sjl9teijq8to1u";
|
||||
|
||||
public static com_gift CreateInstance()
|
||||
{
|
||||
return (com_gift)UIPackage.CreateObject("Arrow_game", "com_gift");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
text_gift = (GTextField)GetChildAt(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 36e3850568fb04efcaffed0b7f4c8462
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user