I have a “video.ogv” file (can convert any other format), and want play it in Unity 2.6.1 Pro license. Please tell my how can I do it. :?
Use any of the above file formats, import your video in your unity project(drag and drop into the assets folder), apply it to a 3d object as a material and add it’s audio to the object’s audio source.
Then you will have to create a very small script. Attach the script to the game object.
function Start(){
renderer.material.mainTexture.Play();
}
Ok. But i can`t assign a video file to material texture. Possible i must install video codec on my system.
Don’t apply it to a material as a texture, just drag and drop it on an object and Unity will add it as a material to the object.
Unity error:
Movie importing requires Quicktime to be installed
UnityEditor.AssetDatabase:ImportAsset(String, ImportAssetOptions)
UnityEditor.AssetDatabase:ImportAsset(String, ImportAssetOptions)
I can`t using movie without Quicktime?
My system is Windows 7 Pro.
you can use movies but you can not use mov files / quicktime files without having quicktime installed as thats required to convert it to ogg theora in which format it really will be
Thanks for the help.