feat:1、创建项目
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Prop_09
|
||||
{
|
||||
public partial class com_prop : GComponent
|
||||
{
|
||||
public Controller prop;
|
||||
public btn_add btn_add;
|
||||
public btn_add btn_jian;
|
||||
public GTextField text_add;
|
||||
public GGroup group_add;
|
||||
public GButton btn_buy;
|
||||
public GButton btn_back;
|
||||
public GButton btn_watch;
|
||||
public GImage img_saveingpot;
|
||||
public const string URL = "ui://ig55ss7kq8ucg";
|
||||
|
||||
public static com_prop CreateInstance()
|
||||
{
|
||||
return (com_prop)UIPackage.CreateObject("Prop_09", "com_prop");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
prop = GetControllerAt(0);
|
||||
btn_add = (btn_add)GetChildAt(1);
|
||||
btn_jian = (btn_add)GetChildAt(2);
|
||||
text_add = (GTextField)GetChildAt(3);
|
||||
group_add = (GGroup)GetChildAt(4);
|
||||
btn_buy = (GButton)GetChildAt(13);
|
||||
btn_back = (GButton)GetChildAt(14);
|
||||
btn_watch = (GButton)GetChildAt(16);
|
||||
img_saveingpot = (GImage)GetChildAt(17);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user