40 lines
1.3 KiB
C#
40 lines
1.3 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 PlayerPanel
|
||
{
|
||
public GObject this[string aKey] => ContentPane.GetChild(aKey);
|
||
public override string UIPackName => "Main";
|
||
public override string UIResName => "PlayerPanel";
|
||
|
||
[AutoFind(Name = "VideoMask")]
|
||
public GGraph VideoMask;
|
||
[AutoFind(Name = "bottomBack")]
|
||
public GGraph bottomBack;
|
||
[AutoFind(Name = "VideoTop")]
|
||
public VideoPlayer VideoTop;
|
||
[AutoFind(Name = "Video")]
|
||
public VideoPlayer Video;
|
||
[AutoFind(Name = "VideoBottom")]
|
||
public VideoPlayer VideoBottom;
|
||
[AutoFind(Name = "Progress")]
|
||
public GProgressBar Progress;
|
||
[AutoFind(Name = "BtnPause")]
|
||
public GComponent BtnPause;
|
||
public override string[] GetDependPackages(){ return new string[] {}; }
|
||
|
||
public static void Show(object param = null){ UI.Inst.OpenUI<PlayerPanel>(param); }
|
||
|
||
public static void Hide(){ UI.Inst.HideUI<PlayerPanel>(); }
|
||
|
||
public static void Del(){ UI.Inst.DestroyUI<PlayerPanel>(); }
|
||
|
||
}
|
||
} |