feat:1、创建项目
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
/** 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 btn_receive : GButton
|
||||
{
|
||||
public Controller lock_state;
|
||||
public GImage img_ad;
|
||||
public GGraph anim_lock;
|
||||
public GGraph anim_lock_light;
|
||||
public const string URL = "ui://a98xmhwkty4r1x";
|
||||
|
||||
public static btn_receive CreateInstance()
|
||||
{
|
||||
return (btn_receive)UIPackage.CreateObject("Treasure_19", "btn_receive");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
lock_state = GetControllerAt(0);
|
||||
img_ad = (GImage)GetChildAt(1);
|
||||
anim_lock = (GGraph)GetChildAt(3);
|
||||
anim_lock_light = (GGraph)GetChildAt(4);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user