UI.SetThemeColor
static void SetThemeColor(UIColor colorCategory, Color colorGamma)
This allows you to explicitly set a theme color, for finer grained control over the UI appearance. Each theme type is still used by many different UI elements. This will automatically generate colors for different UI element states.
UIColor colorCategory | The category of UI elements that will be affected by this theme color. |
Color colorGamma | The gamma corrected color that should be applied to this theme color category in its normal resting state. Active and disabled colors will be generated based on this color. |
static void SetThemeColor(UIColor colorCategory, UIColorState colorState, Color colorGamma)
This allows you to explicitly set a theme color, for finer grained control over the UI appearance. Each theme type is still used by many different UI elements. This applies specifically to one state of this color category, and does not modify the others.
UIColor colorCategory | The category of UI elements that will be affected by this theme color. |
UIColorState colorState | The state of the UI element this color should apply to. |
Color colorGamma | The gamma corrected color that should be applied to this theme color category in the indicated state. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!