public void Stop()
 {
     LeftVideo.Stop();
     MidVideo.Stop();
     RightVideo.Stop();
     LeftVideo.gameObject.SetActive(false);
     MidVideo.gameObject.SetActive(false);
     RightVideo.gameObject.SetActive(false);
 }
 public void PrepareDragon()
 {
     LeftVideo.gameObject.SetActive(true);
     MidVideo.gameObject.SetActive(true);
     RightVideo.gameObject.SetActive(true);
     LeftVideo.PrepareDragon();
     MidVideo.PrepareDragon();
     RightVideo.PrepareDragon();
 }
        private void OnVideoPrepareCompleted(VideoPlayer source)
        {
            Debug.Log(source.name + "Prepare Completed!");
            mPrepareCount++;
            //等左中右视频都准备完毕以后,统一开始播放
            if (mPrepareCount >= 3)
            {
                MaskImage.Hide();
                LeftVideo.Play();
                MidVideo.Play();
                RightVideo.Play();
                mPrepareCount = 0;

                if (source.url.Contains("四季"))
                {
                    //通知交互端开始倒计时
                    var msg = new UdpMessage(MessageDefine.WholeVideoEnd);
                    UdpManager.Instance.SendMessage(msg.ToJson());
                }
            }
        }