今天按照买的这本 《Unity 3D 游戏开发》 一书中来到了视频播放这章,结果死活播放不了,拖一个mp4文件到project视图,发现编辑器并没有自动生成一个MovieTexture对象。后来在网上查原因,无意中看到这个功能只在专业版中有,就去官网看了下,发现如果是:
MovieTexture
Parent class: Texture
Description
Movie Textures (Pro only) are textures onto which movies are played back.
They can be used for cutscene movie sequences, or to render movies into the scene itself.