feat:1、创建项目
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
|
||||
namespace FGUI.Lobby_03
|
||||
{
|
||||
public partial class com_level : GComponent
|
||||
{
|
||||
public Controller state;
|
||||
public btn_level_play btn_play5;
|
||||
public btn_level_play btn_play4;
|
||||
public btn_level_play btn_play3;
|
||||
public btn_level_play btn_play2;
|
||||
public btn_level_play btn_play1;
|
||||
public const string URL = "ui://gytj501cnjnv3r";
|
||||
|
||||
public static com_level CreateInstance()
|
||||
{
|
||||
return (com_level)UIPackage.CreateObject("Lobby_03", "com_level");
|
||||
}
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
state = GetControllerAt(0);
|
||||
btn_play5 = (btn_level_play)GetChildAt(0);
|
||||
btn_play4 = (btn_level_play)GetChildAt(1);
|
||||
btn_play3 = (btn_level_play)GetChildAt(2);
|
||||
btn_play2 = (btn_level_play)GetChildAt(3);
|
||||
btn_play1 = (btn_level_play)GetChildAt(4);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user