/**本脚本为自动生成,每次生成会覆盖!请勿手动修改,生成插件文档及项目地址: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 Controller stageCtrl; public GGraph PlayBack; public GLoader VideoVer; public GComponent BtnPause; public PlayerBottomInfo BottomInfo; public PlayRightGroup LeftInfo; public Transition pause; public Transition play; public Transition StartedAnim; public override void ConstructFromXML(XML xml) { base.ConstructFromXML(xml); pauseCtrl = GetController("pauseCtrl"); stageCtrl = GetController("stageCtrl"); PlayBack = (GGraph)GetChild("PlayBack"); VideoVer = (GLoader)GetChild("VideoVer"); BtnPause = (GComponent)GetChild("BtnPause"); BottomInfo = (PlayerBottomInfo)GetChild("BottomInfo"); LeftInfo = (PlayRightGroup)GetChild("LeftInfo"); pause = GetTransition("pause"); play = GetTransition("play"); StartedAnim = GetTransition("StartedAnim"); OnInited(); UILanguage.TrySetComponentLanguage(this); } } }