Files

20 lines
473 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AYellowpaper.SerializedCollections
{
public class SerializedDictionarySample : MonoBehaviour
{
[SerializedDictionary("Element Type", "Description")]
public SerializedDictionary<ElementType, string> ElementDescriptions;
public enum ElementType
{
Fire,
Air,
Earth,
Water
}
}
}