在UGUI的Canvas中添加RawImage,在代码中定义MovieTexture,将MovieTexture的值赋值给RawImage的Texture。
MovieTexture movieTexture = Resources.Load("***") as MovieTexture;
GetComponent<RawImage>().texture = movieTexture;
((MovieTexture)GetComponent<RawImage>().texture).Play();
GetComponent<AudioSource>().clip = ((MovieTexture)GetComponent<RawImage>().texture).audioClip;
GetComponent<AudioSource>().Play();