- Home /
How do apply my settings when adding border to individual sprites within a texturepacker spritesheet?
Hi All
I have recently been using the new gui system in Unity but I appear to be hitting problems when trying to add a border for slicing (or indeed any other changes, such as to pivot etc) in the sprite editor.
My spritesheet has been built in texturepacker and then imported to Unity automatically using the texturepacker plugin. I can view the spritesheet in the sprite editor fine. I then go to select an individual sprite from the spritesheet and I am shown the info for that sprite. I edit the border and pivot settings, hit the apply button and then close the sprite editor.
I go to reopen the sprite editor to have a look at my changes but they have not been applied. Any ideas as to whether im not doing this correctly or if this is a bug?
Even I m facing this issue! I got to know why it gets reset after you close the sprite editor.. Since texture packer importer refers to the .tpsheet file for the sprite details, its gonna reset it to default values present in those .tpsheet file. But there is no option to put border values in a .tpsheet also :/ .. PLEASE HELP ANYONE!
Answer by RakshithAnand · Nov 13, 2014 at 09:01 AM
Ok I know the problem and the solution lies in the updated version of "Texture Packer Importer". Update your texture packer importer to the latest version which maintains the previous border values if manually given by user!
This line in the updated version does the job:
Your answer
Follow this Question
Related Questions
Set image type to Sliced for buttons in GUI skin? 0 Answers
Sprite editor automatic slicing not working 0 Answers
Displaying single sprite from spritesheet on GUI 1 Answer
Gui Box - Texture - Spritesheet 0 Answers
Sliced Sprites are stretching in 5.1.2 0 Answers