Namespace: | Sirenix.OdinInspector |
Assembly: | Sirenix.OdinInspector.Attributes |
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Parameter | AttributeTargets.Delegate | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | AttributeTargets.All, AllowMultiple = true, Inherited = true)]
[Conditional("UNITY_EDITOR")]
public sealed class TitleGroupAttribute : PropertyGroupAttribute, _Attribute
public TitleGroupAttribute(string title, string subtitle = null, TitleAlignments alignment = TitleAlignments.Left, bool horizontalLine = true, bool boldTitle = true, bool indent = false, float order = 0F)
System.String | title | The title- |
System.String | subtitle | Optional subtitle. |
TitleAlignments | alignment | The text alignment. |
System.Boolean | horizontalLine | Horizontal line. |
System.Boolean | boldTitle | Bold text. |
System.Boolean | indent | Whether or not to indent all group members. |
System.Single | order | The group order. |
public TitleAlignments Alignment
true
the title will be displayed with a bold font.
public bool BoldTitle
public bool HorizontalLine
public bool Indent
public string Subtitle
protected override void CombineValuesWith(PropertyGroupAttribute other)
PropertyGroupAttribute | other | The other group attribute to combine with. |