Beispiel #1
0
        /// <summary>
        /// 切换到背景视频播放(播放组织短视频)
        /// </summary>
        public static void PlayAvObject()
        {
            AVProComponent aVPro = CentorPivot.This.GetComponent <AVProComponent>();

            AVObject aVObject = aVPro.AddAVObject(Block_BG.This.m_Video_Org, GlobalData.FUI.Video_Org, true, true, false, 0.1f);

            aVObject.AddAction(OnFinishedPlayingEvent);

            aVPro.AddAVObject(Block_BG.This.m_Video_Ani, GlobalData.FUI.Video_Ani, true, false, true, 0.25f);
        }