1、解决如何在UI上播放视频:
新建Create->RenderTexture,同时设置分辨率大小。
把RenderTexture拖入到RawImage的Texture中,以及VideoPlayer中的TargetTexture中。
视频拖入VideoClip中