Author Topic: UV Shifting  (Read 1773 times)

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
UV Shifting
« on: April 25, 2014, 02:35:55 PM »
Hi Aren,
I would like to shift a UISprite or UItexture image in the UV cords.
There's any way to do this on NGUI?

Thanks in advance.
Emilio

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UV Shifting
« Reply #1 on: April 26, 2014, 02:03:30 PM »
Make a custom widget, and you can change its OnFill to be anything you like. Just be aware that you can't simply scroll a sprite, if that's what you are trying to do.

Although, thinking about it... it would be a neat feature to add. Ima make that happen.

jeldrez

  • Sr. Member
  • ****
  • Thank You
  • -Given: 8
  • -Receive: 4
  • Posts: 352
    • View Profile
Re: UV Shifting
« Reply #2 on: April 28, 2014, 03:11:00 PM »
Thanks Aren, I would really appreciate this feature.