add rewardPanel

This commit is contained in:
Bob.Song
2026-03-24 17:20:16 +08:00
parent b6320af0c9
commit 12635b4da9
116 changed files with 237 additions and 101 deletions

View File

@@ -19,6 +19,7 @@ namespace NBF
UIObjectFactory.SetPackageItemExtension(MainMenu.URL, typeof(MainMenu));
UIObjectFactory.SetPackageItemExtension(BtnMainMenu.URL, typeof(BtnMainMenu));
UIObjectFactory.SetPackageItemExtension(CommonSubMenu.URL, typeof(CommonSubMenu));
UIObjectFactory.SetPackageItemExtension(ItemsItem.URL, typeof(ItemsItem));
UIObjectFactory.SetPackageItemExtension(MarqueeTag.URL, typeof(MarqueeTag));
UIObjectFactory.SetPackageItemExtension(BtnInputName.URL, typeof(BtnInputName));
UIObjectFactory.SetPackageItemExtension(BtnTextInputControl.URL, typeof(BtnTextInputControl));

29
Assets/Scripts/UI/ItemsItem.Designer.cs generated Normal file
View File

@@ -0,0 +1,29 @@
/**本脚本为自动生成每次生成会覆盖请勿手动修改生成插件文档及项目地址https://git.whoot.com/whoot-games/whoot.fguieditorplugin**/
using FairyGUI;
using FairyGUI.Utils;
using NBC;
namespace NBF
{
public partial class ItemsItem
{
public const string URL = "ui://6hgkvlaujd2r18g";
public GImage back_full;
public GImage glow;
public GImage stroke;
public override void ConstructFromXML(XML xml)
{
base.ConstructFromXML(xml);
back_full = (GImage)GetChild("back_full");
glow = (GImage)GetChild("glow");
stroke = (GImage)GetChild("stroke");
OnInited();
UILanguage.TrySetComponentLanguage(this);
}
}
}

View File

@@ -0,0 +1,15 @@
// 本脚本只在不存在时会生成一次。组件逻辑写在当前脚本内。已存在不会再次生成覆盖
using UnityEngine;
using FairyGUI;
using NBC;
namespace NBF
{
public partial class ItemsItem : GLabel
{
private void OnInited()
{
}
}
}

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 RewardPanel
{
public GObject this[string aKey] => ContentPane.GetChild(aKey);
public override string UIPackName => "Common";
public override string UIResName => "RewardPanel";
[AutoFind(Name = "back_full")]
public GImage back_full;
[AutoFind(Name = "Modal")]
public GLabel Modal;
[AutoFind(Name = "BtnConfirm")]
public GButton BtnConfirm;
[AutoFind(Name = "List")]
public GList List;
[AutoFind(Name = "show")]
public Transition show;
public override string[] GetDependPackages(){ return new string[] {}; }
public static void Show(object param = null){ UI.Inst.OpenUI<RewardPanel>(param); }
public static void Hide(){ UI.Inst.HideUI<RewardPanel>(); }
public static void Del(){ UI.Inst.DestroyUI<RewardPanel>(); }
}
}

View File

@@ -0,0 +1,11 @@
// 本脚本只在不存在时会生成一次。已存在不会再次生成覆盖
using UnityEngine;
using NBC;
namespace NBF
{
public partial class RewardPanel : UIPanel
{
}
}