feat:1、创建项目
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Game_04
|
||||
{
|
||||
public partial class btn_prop : GButton
|
||||
{
|
||||
public Controller prop;
|
||||
public GImage bg;
|
||||
public GTextField number_text;
|
||||
public GImage img_add;
|
||||
public GGraph ani_parent;
|
||||
public const string URL = "ui://g3iqdlgcopwg10";
|
||||
|
||||
public static btn_prop CreateInstance()
|
||||
{
|
||||
return (btn_prop)UIPackage.CreateObject("Game_04", "btn_prop");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
prop = GetControllerAt(0);
|
||||
bg = (GImage)GetChildAt(3);
|
||||
number_text = (GTextField)GetChildAt(4);
|
||||
img_add = (GImage)GetChildAt(5);
|
||||
ani_parent = (GGraph)GetChildAt(6);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user