Version 3.3.0.1

Odin has a dedicated attribute overview with examples

DictionaryDrawerSettings class

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
[Conditional("UNITY_EDITOR")]
public sealed class DictionaryDrawerSettings : Attribute, _Attribute
Customize the behavior for dictionaries in the inspector.
Inheritance
  • System.Object
  • System.Attribute
  • DictionaryDrawerSettings

Constructors

DictionaryDrawerSettings()
public DictionaryDrawerSettings()

Fields

DisplayMode
Specify how the dictionary should draw its items.
public DictionaryDisplayOptions DisplayMode
IsReadOnly
Gets or sets a value indicating whether this instance is read only.
public bool IsReadOnly
KeyColumnWidth
Gets or sets a value indicating the default key column width of the dictionary.
public float KeyColumnWidth
KeyLabel
Specify an alternative key label for the dictionary drawer.
public string KeyLabel
ValueLabel
Specify an alternative value label for the dictionary drawer.
public string ValueLabel