Skip to content

Instantly share code, notes, and snippets.

@Marsgames
Marsgames / 01_DrawableDictionaries.MD
Last active May 10, 2024 00:02
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 { }