Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Evorlor on August 30, 2014, 01:27:34 PM

Title: Video Support
Post by: Evorlor on August 30, 2014, 01:27:34 PM
I think I already know the answer (no), but I figured I would give it a shot.

Is there video support in NGUI?  As in, can I use NGUI to have a full screen video play in my game?  I am aware that Unity has this feature somewhere, but I just like NGUI so much, I was hoping I could do it there.

[On a side note...wow!  NGUI is amazing!]
Title: Re: Video Support
Post by: r.pedra on August 30, 2014, 05:37:29 PM
Hmmmm I would try to capture the video in a RenderTexture and display this RenderTexture in a  UITexture object but I don't know if it will works.
Title: Re: Video Support
Post by: Nicki on August 31, 2014, 07:23:59 AM
You should be able to use a MovieTexture and assign it to a UITexture

http://docs.unity3d.com/ScriptReference/MovieTexture.html
Title: Re: Video Support
Post by: Evorlor on August 31, 2014, 10:45:14 AM
I don't have pro, so cannot use movie textures
Title: Re: Video Support
Post by: Nicki on September 01, 2014, 06:44:00 AM
Then you can't play movies.

You *might* be able to get it to play natively fullscreen above the unity view, but that's as far as you'll get with non pro.