예제 #1
0
 public PSVitaMovie Play(string moviePath)
 {
     //IL_002e: Unknown result type (might be due to invalid IL or missing references)
     //IL_0034: Invalid comparison between Unknown and I4
     _isPlaying          = false;
     _isBufferingSuccess = false;
     _isPause            = false;
     this.moviePath      = moviePath;
     if (renderTexture == null && (int)_iMode == 1)
     {
         renderTexture = new RenderTexture(1024, 1024, 0, RenderTextureFormat.ARGB32);
     }
     PSVitaVideoPlayer.Init(renderTexture);
     Observable.FromCoroutine((UniRx.IObserver <bool> observer) => PlayMovie(observer)).Subscribe(delegate(bool observer)
     {
         if (observer)
         {
             OnEvent(3);
         }
         else
         {
             OnEvent(32);
         }
     });
     return(this);
 }
 public void Stop()
 {
     if (this.mIsPlaying)
     {
         this.mRenderTexture_MovieClipRendrer.Release();
         PSVitaVideoPlayer.Init(null);
         this.mIsPlaying = false;
     }
 }
예제 #3
0
 public void Stop()
 {
     if (mIsPlaying)
     {
         mRenderTexture_MovieClipRendrer.Release();
         PSVitaVideoPlayer.Init((RenderTexture)null);
         mIsPlaying = false;
     }
 }
 private void Start()
 {
     PSVitaVideoPlayer.Init(this.renderTexture);
     PSVitaVideoPlayer.PlayParams playParams = default(PSVitaVideoPlayer.PlayParams);
     playParams.volume           = this.volume;
     playParams.loopSetting      = 1;
     playParams.modeSetting      = 0;
     playParams.audioStreamIndex = this.audioStreamIndex;
     playParams.textStreamIndex  = this.textStreamIndex;
     PSVitaVideoPlayer.PlayEx(this.MoviePath, playParams);
 }
        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;
        }
예제 #6
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;
        }
예제 #7
0
    private void Start()
    {
        //IL_000d: Unknown result type (might be due to invalid IL or missing references)
        //IL_0023: Unknown result type (might be due to invalid IL or missing references)
        //IL_002b: Unknown result type (might be due to invalid IL or missing references)
        //IL_0050: Unknown result type (might be due to invalid IL or missing references)
        PSVitaVideoPlayer.Init(renderTexture);
        var val = default(PSVitaVideoPlayer.PlayParams);

        val.volume           = volume;
        val.loopSetting      = PSVitaVideoPlayer.Looping.Continuous;
        val.modeSetting      = PSVitaVideoPlayer.Mode.FullscreenVideo;
        val.audioStreamIndex = audioStreamIndex;
        val.textStreamIndex  = textStreamIndex;
        PSVitaVideoPlayer.PlayEx(MoviePath, val);
    }
예제 #8
0
    public PSVitaMovie PlayEx(string moviePath)
    {
        //IL_0019: Unknown result type (might be due to invalid IL or missing references)
        this.moviePath = moviePath;
        PSVitaVideoPlayer.Init(renderTexture);

        throw new NotImplementedException("なにこれ");
        // if (PSVitaVideoPlayer.PlayEx(this.moviePath, _strPlayParams))
        if (true)
        {
            OnEvent(3);
        }
        else
        {
            OnEvent(32);
        }
        return(this);
    }
 public PSVitaMovie Play(string moviePath)
 {
     this._isPlaying          = false;
     this._isBufferingSuccess = false;
     this._isPause            = false;
     this.moviePath           = moviePath;
     if (this.renderTexture == null && this._iMode == 1)
     {
         this.renderTexture = new RenderTexture(1024, 1024, 0, 0);
     }
     PSVitaVideoPlayer.Init(this.renderTexture);
     Observable.FromCoroutine <bool>((IObserver <bool> observer) => this.PlayMovie(observer)).Subscribe(delegate(bool observer)
     {
         if (observer)
         {
             this.OnEvent(3);
         }
         else
         {
             this.OnEvent(32);
         }
     });
     return(this);
 }
 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);
 }