UIEffect icon indicating copy to clipboard operation
UIEffect copied to clipboard

Use multiple ui elements with same shiney effect

Open omid3098 opened this issue 3 years ago • 3 comments

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: image

And I need to make the whole package to have shiny effect instead of adding separate effects on each one of them.

omid3098 avatar Apr 25 '21 12:04 omid3098

You could create a single transparent sprite the same shape as your grouped object and use that...?

foldthirteen avatar May 14 '21 19:05 foldthirteen

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.

omid3098 avatar May 14 '21 20:05 omid3098

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...

foldthirteen avatar May 14 '21 20:05 foldthirteen