- Home /
Question by
ByteMillennium · Sep 24, 2017 at 11:42 PM ·
buttonspritematerialcolor
Sprite and material not working on buttons
Hello :) So I have a play button, a sprite, and a material. The material has a UI/Unlit/Detail shader on it. The material changes color when a player clicks on a button in the shop. The sprite is basically a gray square with a white rounded border. I want my button to have the sprite but be the color of the material.
This is what it looks like without my sprite on it.
And this is what it looks like with the sprite...
Only a quarter of the sprite is shown, and without the color of the material. I might be missing something obvious or easy, but I'm not that good with all this stuff.
unity-answers-pic1.png
(1.5 kB)
unity-answers-pic2.png
(2.6 kB)
Comment