文档

Unity Engine

Unity Engine

Playing video in Movie Textures

Resources for importing a video file into Unity as an animated texture, and playing it back.
阅读时间1 分钟最后更新于 9 天前

Resources for importing a video file into Unity as an animated texture, and playing it back.
注意
MovieTexture is due to be deprecated in a future version of Unity. You should use VideoPlayer for video download and movie playback.

Page

Description

Create a movie textureConvert a video file to a Movie Texture asset, and play the video via a script.
Play video on mobile platformsPlay video on platforms that don't support Movie Textures.

Additional resources