37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改,生成插件文档及项目地址:https://git.whoot.com/whoot-games/whoot.fguieditorplugin**/
|
||
|
||
|
||
using FairyGUI;
|
||
using FairyGUI.Utils;
|
||
using NBC;
|
||
|
||
namespace NBF
|
||
{
|
||
public partial class BagSlotItem
|
||
{
|
||
public const string URL = "ui://hxr7rc7puiwj1t";
|
||
|
||
public Controller showType;
|
||
public GImage back;
|
||
public GTextField TextIndex;
|
||
public GTextField TextCount;
|
||
public GImage Quality;
|
||
public GButton BtnRemove;
|
||
public GImage Add;
|
||
|
||
public override void ConstructFromXML(XML xml)
|
||
{
|
||
base.ConstructFromXML(xml);
|
||
|
||
showType = GetController("showType");
|
||
back = (GImage)GetChild("back");
|
||
TextIndex = (GTextField)GetChild("TextIndex");
|
||
TextCount = (GTextField)GetChild("TextCount");
|
||
Quality = (GImage)GetChild("Quality");
|
||
BtnRemove = (GButton)GetChild("BtnRemove");
|
||
Add = (GImage)GetChild("Add");
|
||
OnInited();
|
||
UILanguage.TrySetComponentLanguage(this);
|
||
}
|
||
}
|
||
} |