gamekit - How to play news in TV when i switch on, using scripting language in Unity3D? -


i new in unity3d. need know how can play news in tv when switch on using scripting languages in unity3d

you might interested in movietexture.

movie textures animated textures created video file. placing video file in project's assets folder, can import video used use regular texture.

video files imported via apple quicktime. supported file types quicktime installation can play (usually .mov, .mpg, .mpeg, .mp4, .avi, .asf). on windows movie importing requires quicktime installed.

if (input.getbuttondown ("jump")) {     if (renderer.material.maintexture.isplaying) {         renderer.material.maintexture.pause();     }     else {         renderer.material.maintexture.play();     } } 

note: pro/advanced feature only.

enter image description here


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -