37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改,生成插件文档及项目地址:https://git.whoot.com/whoot-games/whoot.fguieditorplugin**/
|
||
|
||
|
||
using FairyGUI;
|
||
using FairyGUI.Utils;
|
||
using NBC;
|
||
|
||
namespace NBF
|
||
{
|
||
public partial class VideoPlayer
|
||
{
|
||
public const string URL = "ui://hxr7rc7pt33p1hg";
|
||
|
||
public Controller pauseCtrl;
|
||
public GGraph PlayBack;
|
||
public GLoader VideoVer;
|
||
public GComponent BtnPause;
|
||
public Transition pause;
|
||
public Transition play;
|
||
public Transition StartedAnim;
|
||
|
||
public override void ConstructFromXML(XML xml)
|
||
{
|
||
base.ConstructFromXML(xml);
|
||
|
||
pauseCtrl = GetController("pauseCtrl");
|
||
PlayBack = (GGraph)GetChild("PlayBack");
|
||
VideoVer = (GLoader)GetChild("VideoVer");
|
||
BtnPause = (GComponent)GetChild("BtnPause");
|
||
pause = GetTransition("pause");
|
||
play = GetTransition("play");
|
||
StartedAnim = GetTransition("StartedAnim");
|
||
OnInited();
|
||
UILanguage.TrySetComponentLanguage(this);
|
||
}
|
||
}
|
||
} |