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);
 }
예제 #2
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);
    }