Beispiel #1
0
 void Update()
 {
     if (tex != null)
     {
         tex.Update();
     }
 }
Beispiel #2
0
 void Update()
 {
     if (tex != null)
     {
         tex.Update();
     }
     //cube.transform.Rotate(Time.deltaTime * 10, Time.deltaTime * 30, 0);
 }
Beispiel #3
0
 private void Update()
 {
     if (CommMovie != null)
     {
         CommMovie.Update();
     }
     //if (!((MovieTexture)renderer.materials[1].mainTexture).isPlaying)
     //	((MovieTexture)renderer.materials[1].mainTexture).Play();
 }
 void Update()
 {
             #if UNITY_WEBGL //&& !UNITY_EDITOR
     if (tex != null)
     {
         tex.Update();
     }
             #endif
 }
Beispiel #5
0
 public void Update()
 {
     _movieTexture.Update();
     if (_status < StreamingVideoStatus.ReadyToPlay && IsReadyToPlay)
     {
         _status = StreamingVideoStatus.ReadyToPlay;
     }
     if (_status == StreamingVideoStatus.Playing && _movieTexture.time == _movieTexture.duration)
     {
         _status = StreamingVideoStatus.Done;
     }
 }
        public void Update()
        {
            m_movieTexture.Update();
            if (m_isStopping)
            {
                if (IsReadyToPlay)
                {
                    Debug.Log("Update() stopping");

                    m_isStopping = false;
                    Pause();
                }
            }
            if (_status < StreamingVideoStatus.ReadyToPlay && IsReadyToPlay)
            {
                _status = StreamingVideoStatus.ReadyToPlay;
            }
            else if (_status == StreamingVideoStatus.Playing && m_movieTexture.hasEnded)
            {
                _status = StreamingVideoStatus.Done;
            }
        }
Beispiel #7
0
 void Update()
 {
     tex.Update();
     cube.transform.Rotate(Time.deltaTime * 10, Time.deltaTime * 30, 0);
 }
 void Update()
 {
     tex2.Update();
 }
 public void Update()
 {
     tex.Update();
 }
    //IEnumerator WaitToPlay() {
    //    yield return new WaitForSeconds(0);

    //}

    public void Update()
    {
        visualiser.Update();
    }