Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: ntopia on May 10, 2013, 03:40:02 AM

Title: UISprite padding bug
Post by: ntopia on May 10, 2013, 03:40:02 AM
Hello. I'm using NGUI 2.6.1e & Unity 4.1.2f1.

When I use UISprite in type of Filled|Sliced|Tiled (not Simple), padding of sprite doesn't applying.

Is this a bug?
How am I supposed to do?
Title: Re: UISprite padding bug
Post by: ArenMook on May 11, 2013, 12:42:19 AM
Padding only affects simple sprites, so it's not a bug.
Title: Re: UISprite padding bug
Post by: ntopia on May 12, 2013, 10:56:24 PM
but why??

Padding is UIAtlas.Sprite's attribute, not UISprite's attribute.
I think that it affects every sprites no matter what type it is.

I want to know why, please.
Title: Re: UISprite padding bug
Post by: ArenMook on May 13, 2013, 02:44:52 AM
And how would you use it with those types of sprites? I see no practical use for it. With simple sprites it's used to align sprites when you make them pixel perfect -- something you mainly need for animated sprites.