feat:1、创建项目
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.rank
|
||||
{
|
||||
public partial class btn_head : GButton
|
||||
{
|
||||
public Controller type;
|
||||
public GLoader load_avatar;
|
||||
public const string URL = "ui://edhx114frhlv6n";
|
||||
|
||||
public static btn_head CreateInstance()
|
||||
{
|
||||
return (btn_head)UIPackage.CreateObject("rank", "btn_head");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
type = GetControllerAt(0);
|
||||
load_avatar = (GLoader)GetChildAt(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user