42 lines
1.4 KiB
C#
42 lines
1.4 KiB
C#
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改,生成插件文档及项目地址: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 MessageBox
|
||
{
|
||
public GObject this[string aKey] => ContentPane.GetChild(aKey);
|
||
public override string UIPackName => "Common";
|
||
public override string UIResName => "MessageBox";
|
||
|
||
[AutoFind(Name = "style")]
|
||
public Controller style;
|
||
[AutoFind(Name = "back_full")]
|
||
public GImage back_full;
|
||
[AutoFind(Name = "Modal")]
|
||
public GLabel Modal;
|
||
[AutoFind(Name = "TextContent")]
|
||
public GTextField TextContent;
|
||
[AutoFind(Name = "BtnConfirm1")]
|
||
public GButton BtnConfirm1;
|
||
[AutoFind(Name = "BtnCancel")]
|
||
public GButton BtnCancel;
|
||
[AutoFind(Name = "BtnConfirm2")]
|
||
public GButton BtnConfirm2;
|
||
[AutoFind(Name = "show")]
|
||
public Transition show;
|
||
public override string[] GetDependPackages(){ return new string[] {}; }
|
||
|
||
public static void Show(object param = null){ UI.Inst.OpenUI<MessageBox>(param); }
|
||
|
||
public static void Hide(){ UI.Inst.HideUI<MessageBox>(); }
|
||
|
||
public static void Del(){ UI.Inst.DestroyUI<MessageBox>(); }
|
||
|
||
}
|
||
} |