SepTitleA separator with text. This is a decorator type attribute, which means used on list/array will draw itself above the list/array (not above each element of list/array).
-
string title=nulldisplay a title.nullfor no title, only separator.UI Toolkit: support rich labels except
<field/>&<container/>tag.IMGUI: only support unity standard rich labels
-
EColor color=EColor.Graycolor for the title and the separator -
EAlign eAlign=EAlign.Starthow the title is positioned, options are:EAlign.StartEAlign.CenterEAlign.End
-
int space=0leave some space above or below the separator, like whatSpacedoes.
using SaintsField; [SepTitle("Separate Here", EColor.Pink)] public string content1; [SepTitle(EColor.Green)] public string content2;
