Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: leegod on March 11, 2017, 08:38:17 AM

Title: How to show image's sliced properly?
Post by: leegod on March 11, 2017, 08:38:17 AM
Compare these 2 pictures.
At unity gui's Image, just register image is easy and shows with no problem.

But why ngui does now show image's sliced? And why it need to make atlas? So unconvenient.
 
Title: Re: How to show image's sliced properly?
Post by: ArenMook on March 15, 2017, 01:14:43 PM
You don't need to make it an atlas. You can use UI2DSprite (ALT+SHIFT+D) to draw Unity sprites directly, or UITexture (ALT+SHIFT+T) to draw a raw texture. Slicing information can be specified right on the sprite if you choose the "Sliced" type.