public void Play()
        {
            TweenSettingsExtensions.SetId <Tweener>(TweenSettingsExtensions.SetDelay <Tweener>(DOVirtual.Float(this.mWidgetThis.alpha, 1f, 0.5f, delegate(float alpha)
            {
                this.mWidgetThis.alpha = alpha;
            }), 0.3f), this);
            this.PlaySlotParamUpProduction();
            string text = UIDeckPracticeProductionMovieClip.FindPracticeMovieClipPath(this.mDeckPracticeResultModel.PracticeType);

            PSVitaVideoPlayer.Init(this.mRenderTexture_MovieClipRendrer);
            PSVitaVideoPlayer.Play(text, 1, 1);
            this.mIsCallPlay = true;
        }
Beispiel #2
0
        public void Play()
        {
            DOVirtual.Float(mWidgetThis.alpha, 1f, 0.5f, delegate(float alpha)
            {
                mWidgetThis.alpha = alpha;
            }).SetDelay(0.3f).SetId(this);
            PlaySlotParamUpProduction();
            string text = FindPracticeMovieClipPath(mDeckPracticeResultModel.PracticeType);

            PSVitaVideoPlayer.Init(mRenderTexture_MovieClipRendrer);
            PSVitaVideoPlayer.Play(text, PSVitaVideoPlayer.Looping.Continuous, PSVitaVideoPlayer.Mode.FullscreenVideo);
            mIsCallPlay = true;
        }
 private void OnGUI()
 {
     GUI.skin = skin;
     GUILayout.BeginArea(new Rect(10f, 10f, 200f, Screen.height));
     if (GUILayout.Button("Stop/Play", new GUILayoutOption[0]))
     {
         if (isPlaying)
         {
             PSVitaVideoPlayer.Stop();
         }
         else
         {
             PSVitaVideoPlayer.Play(MoviePath, PSVitaVideoPlayer.Looping.Continuous, PSVitaVideoPlayer.Mode.FullscreenVideo);
         }
     }
     GUILayout.EndArea();
 }
 private void OnGUI()
 {
     GUI.set_skin(this.skin);
     GUILayout.BeginArea(new Rect(10f, 10f, 200f, (float)Screen.get_height()));
     if (GUILayout.Button("Stop/Play", new GUILayoutOption[0]))
     {
         if (this.isPlaying)
         {
             PSVitaVideoPlayer.Stop();
         }
         else
         {
             PSVitaVideoPlayer.Play(this.MoviePath, 1, 1);
         }
     }
     GUILayout.EndArea();
 }
 private void Start()
 {
     PSVitaVideoPlayer.Init(renderTexture);
     PSVitaVideoPlayer.Play(MoviePath, PSVitaVideoPlayer.Looping.Continuous, PSVitaVideoPlayer.Mode.FullscreenVideo);
 }
 private void Start()
 {
     PSVitaVideoPlayer.Init(this.renderTexture);
     PSVitaVideoPlayer.Play(this.MoviePath, 1, 1);
 }