Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: fgame on January 28, 2013, 10:45:44 PM

Title: Can I set uvRect for sprite or sliced sprite?
Post by: fgame on January 28, 2013, 10:45:44 PM
Can I set uvRect for sprite or sliced sprite?

This can be done in UITexture. It will be great I could also set uvRect for sprite to display part of the texture when necessary!
Title: Re: Can I set uvRect for sprite or sliced sprite?
Post by: ArenMook on January 28, 2013, 11:19:57 PM
No, sprites are drawn whole (unless you are using a UIFilledSprite).
Title: Re: Can I set uvRect for sprite or sliced sprite?
Post by: fgame on January 29, 2013, 08:27:56 PM
That's OK. I think I just have to create another atlas then. Thanks