Why are these 9-slice UI images not showing any borders?
I've read up threads on using 9-slice for buttons and dialogs... I understand the concept fully... I've watched videos, etc... I've followed the instructions to a "T" and yet my buttons and panels only show the "middle" part of the sliced sprite and no borders. What am I doing wrong? (Unity 5.5.1f)
Reference I've already read and re-read or watched: https://forum.unity3d.com/threads/how-to-create-a-9-sliced-sprite-and-use-it-on-new-gui.263751/
It may be worth noting that the built-in button background ALSO does not work! Here is a default button:
Answer by LilGames · Apr 24, 2017 at 02:01 AM
Figured it out. All my game images are set to a Pixels Per Unit of 100 but in the Canvas, the borders will only appear if I set it to 1.
Your answer
Follow this Question
Related Questions
Sliced Spritesheet appears correctly in Editor, overlapping everywhere else 2 Answers
UI element large as sliced sprite internal rect 1 Answer
Rewriting Cellular Automata C# to JS 1 Answer
Creating texture array contains only blank white image slices 0 Answers
Managing multiple images fillamount by one function? 1 Answer