Components
The Themed Canvas component allows you to override your project’s default theme with another. Each themed component will search for the first Themed Canvas component in its parents and use the provided theme if present.
If no Themed Canvas component is found, the default theme from Project Settings > Immerse SDK > UI will be used.
The Themed Colors component is used for applying colors to a set of components. Different component type configurations are available that will list just the expected graphics. When a Graphic has been linked into one of these fields, it will be updated with the appropriate color when the theme changes.
Each of the included Prefabs within the UI package will have one of these components and therefore serve as a good example of how it can be utilized.
The Themed Sprite component allows you to select a sprite from a list, this selection is used to retrieve the designated sprite from the current Theme and is then applied to the attached Image component.
A default list of sprites exists within the package, but it is possible to add more/custom sprites from the Theming settings. Any added sprites will be automatically added to the Sprite Selection dropdown.