拖动物品到快速使用

This commit is contained in:
2025-11-17 00:06:20 +08:00
parent f33fa8bcc5
commit d18c32211c
17 changed files with 211 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
/**本脚本为自动生成每次生成会覆盖请勿手动修改生成插件文档及项目地址https://git.whoot.com/whoot-games/whoot.fguieditorplugin**/
using FairyGUI;
using FairyGUI.Utils;
using NBC;
using System.Collections.Generic;
namespace NBF
{
/// <summary> </summary>
public partial class BagSlotPanel
{
public GObject this[string aKey] => ContentPane.GetChild(aKey);
public override string UIPackName => "Main";
public override string UIResName => "BagSlotPanel";
[AutoFind(Name = "back")]
public GLabel back;
[AutoFind(Name = "SlotTitle")]
public GComponent SlotTitle;
[AutoFind(Name = "List")]
public GList List;
[AutoFind(Name = "SlotList")]
public GList SlotList;
[AutoFind(Name = "SlotSeparator")]
public GImage SlotSeparator;
public override string[] GetDependPackages(){ return new string[] {"Common"}; }
public static void Show(object param = null){ App.UI.OpenUI<BagSlotPanel>(param); }
public static void Hide(){ App.UI.HideUI<BagSlotPanel>(); }
public static void Del(){ App.UI.DestroyUI<BagSlotPanel>(); }
}
}