fix:1、更换项目,使用winter来创建
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.LG_End
|
||||
{
|
||||
public partial class com_unlockLevel : GComponent
|
||||
{
|
||||
public Controller type;
|
||||
public Controller is_vip;
|
||||
public GComponent com_loader;
|
||||
public GButton btn_close;
|
||||
public GButton btn_watch;
|
||||
public GButton btn_pay;
|
||||
public GButton btn_vip;
|
||||
public const string URL = "ui://tiispqmpp4po18";
|
||||
|
||||
public static com_unlockLevel CreateInstance()
|
||||
{
|
||||
return (com_unlockLevel)UIPackage.CreateObject("LG_End", "com_unlockLevel");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
type = GetControllerAt(0);
|
||||
is_vip = GetControllerAt(1);
|
||||
com_loader = (GComponent)GetChildAt(1);
|
||||
btn_close = (GButton)GetChildAt(2);
|
||||
btn_watch = (GButton)GetChildAt(6);
|
||||
btn_pay = (GButton)GetChildAt(7);
|
||||
btn_vip = (GButton)GetChildAt(9);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user