Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: jeldrez on September 25, 2014, 02:22:55 PM

Title: Texture Shifter
Post by: jeldrez on September 25, 2014, 02:22:55 PM
Hi,
I think I saw a texture with this shifter in a example scene a while a go.

(http://www.exposeattle.org/images/loader.gif)

It was a shader, somebody has this?

Thanks!
Title: Re: Texture Shifter
Post by: ArenMook on September 25, 2014, 07:49:39 PM
I made one for uGUI over a year ago. I never made this for NGUI. To do this in NGUI you have two options.

1. Use a UITexture (can't be a sprite) and animate its material in UIWidget.onRender.
2. Create a scroll view above the widget (possibly masked), and move a widget inside to create that effect.
Title: Re: Texture Shifter
Post by: jeldrez on September 26, 2014, 07:48:03 AM
Thanks Aren,
I'll try this.