I need to set the background color of a groupbox when its created based on the type of object it represents.
ui.Q<GroupBox>("GroupNode").style.color = new StyleColor(new Color(.76f, .89f, .76f));
I need to set the background color of a groupbox when its created based on the type of object it represents.
ui.Q<GroupBox>("GroupNode").style.color = new StyleColor(new Color(.76f, .89f, .76f));
You want backgroundColor
, just color
is the font color