A way to modify alpha of several shapes at once (similar to CanvasGroup for UI)

Avatar
  • updated
  • Completed

Hi!

UI in Unity has a really neat component (CanvasGroup) that allows to modify alpha of several child UI objects. This is very useful for complex UI layouts, as it also allows nesting.

With shapes, I need to combine several shapes into complex groups, and it would be super useful to have a way to modify their alpha for the whole group.

Thanks!

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Pinned replies
Avatar
Freya Holmér creator
  • Answer
  • Completed

This has now been added to 2.3.0!
in addition to fading alpha, you can also multiply the color to tint a group of shapes with a specific color

Avatar
peter leahy

Is there any easy fix to make the ShapeGroup.Color work from an animator?  It would make it easy to fade in and out a group.

Avatar
Dmitri Kurteanu

Wow! That's awesome!

Thank you a lot for such a quick update!

Avatar
Freya Holmér creator
  • Answer
  • Completed

This has now been added to 2.3.0!
in addition to fading alpha, you can also multiply the color to tint a group of shapes with a specific color