add rewardPanel
This commit is contained in:
@@ -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
29
Assets/Scripts/UI/ItemsItem.Designer.cs
generated
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
15
Assets/Scripts/UI/ItemsItem.cs
Normal file
15
Assets/Scripts/UI/ItemsItem.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
// 本脚本只在不存在时会生成一次。组件逻辑写在当前脚本内。已存在不会再次生成覆盖
|
||||
|
||||
using UnityEngine;
|
||||
using FairyGUI;
|
||||
using NBC;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class ItemsItem : GLabel
|
||||
{
|
||||
private void OnInited()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
36
Assets/Scripts/UI/RewardPanel.Designer.cs
generated
Normal file
36
Assets/Scripts/UI/RewardPanel.Designer.cs
generated
Normal 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>(); }
|
||||
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/UI/RewardPanel.cs
Normal file
11
Assets/Scripts/UI/RewardPanel.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
// 本脚本只在不存在时会生成一次。已存在不会再次生成覆盖
|
||||
|
||||
using UnityEngine;
|
||||
using NBC;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class RewardPanel : UIPanel
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user