35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改,生成插件文档及项目地址:https://git.whoot.com/whoot-games/whoot.fguieditorplugin**/
|
||
|
||
|
||
using FairyGUI;
|
||
using FairyGUI.Utils;
|
||
using NBC;
|
||
|
||
namespace NBF
|
||
{
|
||
public partial class CommonMenu
|
||
{
|
||
public const string URL = "ui://6hgkvlaufcfggr";
|
||
|
||
public GImage LongLine;
|
||
public GList List;
|
||
public GButton Head;
|
||
public GTextField TextName;
|
||
public GComponent Currency;
|
||
public GButton BtnClose;
|
||
|
||
public override void ConstructFromXML(XML xml)
|
||
{
|
||
base.ConstructFromXML(xml);
|
||
|
||
LongLine = (GImage)GetChild("LongLine");
|
||
List = (GList)GetChild("List");
|
||
Head = (GButton)GetChild("Head");
|
||
TextName = (GTextField)GetChild("TextName");
|
||
Currency = (GComponent)GetChild("Currency");
|
||
BtnClose = (GButton)GetChild("BtnClose");
|
||
OnInited();
|
||
UILanguage.TrySetComponentLanguage(this);
|
||
}
|
||
}
|
||
} |