Ejemplo n.º 1
0
 private void Play()
 {
     m_videoTexture.Play();
     m_videoImagePoster.enabled = false;
     TogglePlayPauseButton(false);
     m_autoHideControls = true;
 }
        void Update()
        {
            gameObject.transform.Rotate(Time.deltaTime * 10, Time.deltaTime * 30, 0);

            _videoPlugin.Update();
            if (_videoPlugin.IsReadyToPlay && PlayRequested)
            {
                _videoPlugin.Play();
            }
        }
Ejemplo n.º 3
0
        private void Update()
        {
            if (_videoPlugin == null)
            {
                return;
            }

            _videoPlugin.Update();

            if (_videoPlugin.IsReadyToPlay && PlayRequested)
            {
                _videoPlugin.Play();
            }
        }