Welcome,
Guest
. Please
login
or
register
.
April 25, 2026, 06:20:36 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UISprite padding bug
« previous
next »
Print
Pages: [
1
]
Author
Topic: UISprite padding bug (Read 5043 times)
ntopia
Newbie
Thank You
-Given: 6
-Receive: 0
Posts: 15
UISprite padding bug
«
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?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: UISprite padding bug
«
Reply #1 on:
May 11, 2013, 12:42:19 AM »
Padding only affects simple sprites, so it's not a bug.
Logged
ntopia
Newbie
Thank You
-Given: 6
-Receive: 0
Posts: 15
Re: UISprite padding bug
«
Reply #2 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.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: UISprite padding bug
«
Reply #3 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.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UISprite padding bug