The UIGroup
component allows you to inherit or ignore properties such as opacity and interactivity.
Select the node, then in the Inspector Panel, click Add Component and choose UIGroup. You can control the opacity of multiple UI elements by modifying the settings.
Property Name | Description |
---|---|
alpha | Opacity |
interactive | Whether the element is interactive |
ignoreParentGroup | Whether to ignore the settings of the parent group |
UIGroup resolves the issue where UI element properties cannot be passed from parent to child.