Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: nikhil on March 25, 2014, 01:19:02 AM

Title: How to define a sliced sprite in Atlas in NGUI 3.5.5?
Post by: nikhil on March 25, 2014, 01:19:02 AM
Hi,

I just updated NGUI to 3.5.5 and I was trying to add a sliced sprite to an Atlas and I see that the functionality to define the sliced sprite no more exist. I remember there was an option to define the bounds of the sliced sprite when you select the Atlas, but the option seems to be disappeared. Nothing is mentioned in the release notes as well.

Please help.

Thanks.

Nikhil
Title: Re: How to define a sliced sprite in Atlas in NGUI 3.5.5?
Post by: r.pedra on March 25, 2014, 08:14:45 AM
Add your sprite to the scene and click on the edit button ;)
Moreover if you want to set it as a sliced sprite, you have to do it on the UISprite object.
Title: Re: How to define a sliced sprite in Atlas in NGUI 3.5.5?
Post by: nikhil on March 25, 2014, 11:49:57 PM
Thanks for the help Pedra.  :)

So now its a 2 way process:
1. Set the borders in the Atlas
2. Set the Sprite Type to Sliced and check Fill Center

 :D