fix:1、玩法创建,移动,碰撞检测基本完成 2、添加结算复活界面逻辑
This commit is contained in:
@@ -12,6 +12,7 @@ namespace FGUI.Arrow_game
|
||||
UIObjectFactory.SetPackageItemExtension(ArrowEnd.URL, typeof(ArrowEnd));
|
||||
UIObjectFactory.SetPackageItemExtension(LineTile.URL, typeof(LineTile));
|
||||
UIObjectFactory.SetPackageItemExtension(ArrorPoint.URL, typeof(ArrorPoint));
|
||||
UIObjectFactory.SetPackageItemExtension(HeartsPanel.URL, typeof(HeartsPanel));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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 HeartsPanel : GComponent
|
||||
{
|
||||
public GImage xin_1;
|
||||
public GImage xin_2;
|
||||
public GImage xin_3;
|
||||
public const string URL = "ui://sjl9teijrsd4b";
|
||||
|
||||
public static HeartsPanel CreateInstance()
|
||||
{
|
||||
return (HeartsPanel)UIPackage.CreateObject("Arrow_game", "HeartsPanel");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
xin_1 = (GImage)GetChildAt(0);
|
||||
xin_2 = (GImage)GetChildAt(1);
|
||||
xin_3 = (GImage)GetChildAt(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3f0b296ed39adcc429682e3f5f403e9f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -13,6 +13,7 @@ namespace FGUI.Arrow_game
|
||||
public ArrowEnd ArrowEnd;
|
||||
public ArrorPoint point;
|
||||
public GButton btn_close;
|
||||
public HeartsPanel HeartsPanel;
|
||||
public const string URL = "ui://sjl9teijrsd40";
|
||||
|
||||
public static com_arrow_game CreateInstance()
|
||||
@@ -30,6 +31,7 @@ namespace FGUI.Arrow_game
|
||||
ArrowEnd = (ArrowEnd)GetChildAt(3);
|
||||
point = (ArrorPoint)GetChildAt(4);
|
||||
btn_close = (GButton)GetChildAt(6);
|
||||
HeartsPanel = (HeartsPanel)GetChildAt(7);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user