using System; using UnityEngine; public class MovieTextureCtrl : MonoBehaviour { private void Start() { this.mt = (base.GetComponent().material.mainTexture as MovieTexture); this.mt.Stop(); } public void Play() { this.mt.Play(); } private void Update() { } private MovieTexture mt; }