void Update() { if (tex != null) { tex.Update(); } }
void Update() { if (tex != null) { tex.Update(); } //cube.transform.Rotate(Time.deltaTime * 10, Time.deltaTime * 30, 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 }
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; } }
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(); }