Skip to content

Instantly share code, notes, and snippets.

@Marsgames
Marsgames / 01_DrawableDictionaries.MD
Last active May 21, 2025 02:45
Unity scripts to show dictionaries in the inspector

Dictionaries shown in inspector

Render


  • Put DictionaryDrawer.cs into your Assets/Editor folder

  • Put SerializableDictionary.cs into your Scripts folder

  • Create a custom dictionary

[Serializable] public class CustomDictionary : SerializableDictionary { }