Odin has a dedicated attribute overview with examples

HideLabelAttribute 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)]
public class HideLabelAttribute : Attribute, _Attribute

HideLabel is used on any property, and hides the label in the inspector.

Use this to hide the label of properties in the inspector.

  • System.Object
  • System.Attribute
  • HideLabelAttribute

The following example show how HideLabel is used to hide the label of a game object property.

public class MyComponent : MonoBehaviour
	public GameObject MyGameObjectWithoutLabel;


public HideLabelAttribute()

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.