Version 3.3.0.1

Odin has a dedicated attribute overview with examples

TitleGroupAttribute class

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
Groups properties vertically together with a title, an optional subtitle, and an optional horizontal line.
Inheritance

Constructors

TitleGroupAttribute(String, String, TitleAlignments, Boolean, Boolean, Boolean, Single)
Groups properties vertically together with a title, an optional subtitle, and an optional horizontal line.
public TitleGroupAttribute(string title, string subtitle = null, TitleAlignments alignment = TitleAlignments.Left, bool horizontalLine = true, bool boldTitle = true, bool indent = false, float order = 0F)
Parameters
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.

Fields

Alignment
Title alignment.
public TitleAlignments Alignment
BoldTitle
If true the title will be displayed with a bold font.
public bool BoldTitle
HorizontalLine
Gets a value indicating whether or not to draw a horizontal line below the title.
public bool HorizontalLine
Indent
Gets a value indicating whether or not to indent all group members.
public bool Indent
Subtitle
Optional subtitle.
public string Subtitle

Methods

CombineValuesWith(PropertyGroupAttribute)
Combines TitleGroup attributes.
protected override void CombineValuesWith(PropertyGroupAttribute other)
Parameters
PropertyGroupAttribute other

The other group attribute to combine with.