fix:1、更换关卡获取,改为单关一个json文件
This commit is contained in:
@@ -7,6 +7,7 @@ namespace FGUI.Arrow_game
|
||||
{
|
||||
public partial class ArrowEnd : GComponent
|
||||
{
|
||||
public GGraph hitArea;
|
||||
public GImage icon;
|
||||
public const string URL = "ui://sjl9teijrsd45";
|
||||
|
||||
@@ -19,7 +20,8 @@ namespace FGUI.Arrow_game
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
icon = (GImage)GetChildAt(0);
|
||||
hitArea = (GGraph)GetChildAt(0);
|
||||
icon = (GImage)GetChildAt(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -20,6 +20,7 @@ namespace FGUI.Arrow_game
|
||||
UIObjectFactory.SetPackageItemExtension(btn_green.URL, typeof(btn_green));
|
||||
UIObjectFactory.SetPackageItemExtension(com_tips.URL, typeof(com_tips));
|
||||
UIObjectFactory.SetPackageItemExtension(view_container_parent.URL, typeof(view_container_parent));
|
||||
UIObjectFactory.SetPackageItemExtension(com_flicker.URL, typeof(com_flicker));
|
||||
UIObjectFactory.SetPackageItemExtension(com_bottom.URL, typeof(com_bottom));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace FGUI.Arrow_game
|
||||
public partial class com_arrow_game : GComponent
|
||||
{
|
||||
public Controller mode;
|
||||
public com_flicker com_ficker;
|
||||
public view_container_parent view_container_parent;
|
||||
public ArrorPoint point;
|
||||
public GButton btn_close;
|
||||
@@ -21,6 +22,7 @@ namespace FGUI.Arrow_game
|
||||
public GButton btn_statement;
|
||||
public GButton btn_signin;
|
||||
public com_finger com_finger;
|
||||
public GProgressBar ch_progress;
|
||||
public const string URL = "ui://sjl9teijrsd40";
|
||||
|
||||
public static com_arrow_game CreateInstance()
|
||||
@@ -33,19 +35,21 @@ namespace FGUI.Arrow_game
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
mode = GetControllerAt(0);
|
||||
view_container_parent = (view_container_parent)GetChildAt(2);
|
||||
point = (ArrorPoint)GetChildAt(3);
|
||||
btn_close = (GButton)GetChildAt(4);
|
||||
com_money = (GComponent)GetChildAt(5);
|
||||
HeartsPanel = (HeartsPanel)GetChildAt(6);
|
||||
samll_point = (GGraph)GetChildAt(7);
|
||||
text_level = (GTextField)GetChildAt(9);
|
||||
com_bottom = (com_bottom)GetChildAt(11);
|
||||
btn_petty = (btn_petty)GetChildAt(12);
|
||||
btn_saveingpot = (btn_saveingpot)GetChildAt(13);
|
||||
btn_statement = (GButton)GetChildAt(14);
|
||||
btn_signin = (GButton)GetChildAt(15);
|
||||
com_finger = (com_finger)GetChildAt(17);
|
||||
com_ficker = (com_flicker)GetChildAt(2);
|
||||
view_container_parent = (view_container_parent)GetChildAt(3);
|
||||
point = (ArrorPoint)GetChildAt(4);
|
||||
btn_close = (GButton)GetChildAt(5);
|
||||
com_money = (GComponent)GetChildAt(6);
|
||||
HeartsPanel = (HeartsPanel)GetChildAt(7);
|
||||
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);
|
||||
com_finger = (com_finger)GetChildAt(18);
|
||||
ch_progress = (GProgressBar)GetChildAt(19);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
/** 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_flicker : GComponent
|
||||
{
|
||||
public GGraph bg1;
|
||||
public GGraph bg2;
|
||||
public Transition t0;
|
||||
public const string URL = "ui://sjl9teijrto31r";
|
||||
|
||||
public static com_flicker CreateInstance()
|
||||
{
|
||||
return (com_flicker)UIPackage.CreateObject("Arrow_game", "com_flicker");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
bg1 = (GGraph)GetChildAt(0);
|
||||
bg2 = (GGraph)GetChildAt(1);
|
||||
t0 = GetTransitionAt(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: db2c507a68675c04a837bda979970437
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user