Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: tatelax on September 07, 2013, 12:59:49 PM
-
Hi All,
I'm trying to make the sprite on my UISprite scroll, similar to adjusting the offset values on a material. How is this done?
Thanks,
-- Tate
-
You can't do it with NGUI.
-
I understand you cannot do it using UISprite, what about using the UITexture?
My work around for a background, create a plane and add a scrolling texture on it.
-
Apparently it is achievable with a nice effect using the method I suggested:
Demo: (Keyboard only, click options)
https://dl.dropboxusercontent.com/u/2853559/WebDemos/ngui-animated-tiled-texture/WebBuild-8-9-2013.html
Sorry I can't share the source code as it is entangles with other stuff.
-
Yup, with UITextures you're just working with materials, and this lets you do what you want.