Hi guys,
I want to use shadow script on sprite gameobject. I know it depends on Image component but i need to use this gameobject as a sprite. How can i get it working with Sprite component ?
Hi guys,
I want to use shadow script on sprite gameobject. I know it depends on Image component but i need to use this gameobject as a sprite. How can i get it working with Sprite component ?
Yeah it won’t work with a sprite renderer. Shadow is a GUI element, and sprites… aren’t! you’ll need to find something else to achieve what you want. Maybe create another sprite behind the first one with a slightly larger scale, or just positioned slightly off, and make it pure black (or whatever color)
I created two objects and solved it… Thanks