fix:1、添加项目。2、基本箭头生成
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Treasure_19
|
||||
{
|
||||
public partial class treasure_item : GComponent
|
||||
{
|
||||
public Controller pos;
|
||||
public Controller state;
|
||||
public icon reward0;
|
||||
public icon reward1;
|
||||
public GImage img_gou;
|
||||
public btn_receive btn_receive;
|
||||
public GGraph anim_gou;
|
||||
public const string URL = "ui://a98xmhwkty4r1v";
|
||||
|
||||
public static treasure_item CreateInstance()
|
||||
{
|
||||
return (treasure_item)UIPackage.CreateObject("Treasure_19", "treasure_item");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
pos = GetControllerAt(0);
|
||||
state = GetControllerAt(1);
|
||||
reward0 = (icon)GetChildAt(3);
|
||||
reward1 = (icon)GetChildAt(4);
|
||||
img_gou = (GImage)GetChildAt(5);
|
||||
btn_receive = (btn_receive)GetChildAt(6);
|
||||
anim_gou = (GGraph)GetChildAt(7);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user