UI.SetElementColor
static void SetElementColor(UIVisual visual, UIColor colorCategory)
This allows you to override the color category that a UI element is assigned to.
UIVisual visual | The UI element type to set the color category of. This can be a value past UIVisual.Max if you need extra UIVisual slots for your own custom UI elements. |
UIColor colorCategory | The category of color to assign to this UI element. Use UI.SetThemeColor in combination with this to assign a specific color. This can be a value past UIColor.Max if you need extra UIColor slots for your own custom UI elements. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!