using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AYellowpaper.SerializedCollections { public class SerializedDictionarySampleTwo : MonoBehaviour { [SerializedDictionary("ID", "Person")] public SerializedDictionary People; [System.Serializable] public class Person { public string FirstName; public string LastName; } } }