UIEffect
UIEffect copied to clipboard
Use multiple ui elements with same shiney effect
Is there any way to make a single shiny effect to work on multiple ui items?
I have an ui stack with multiple elements inside:
And I need to make the whole package to have shiny effect instead of adding separate effects on each one of them.
You could create a single transparent sprite the same shape as your grouped object and use that...?
No, It's not the best solution for this case. Sometimes my UI elements will have different sizes based on screen size, and it's not possible to use a single pre-baked sprite for that. and the other problem would be having animated numbers under baked sprite.
If your UI elements are dynamically adjusting to the screen size - you can make a single sprite that adjusts using the same ruleset. Keep your original sprites, just have a new rect that expands to fit the same view...