using System.Collections.Generic; using Sirenix.OdinInspector; using UnityEngine; public class ColorHandler : SerializedMonoBehaviour { public enum ColorType { PhysicsObject } public Dictionary colors = new Dictionary(); public static ColorHandler instance; private void Awake() { instance = this; } public Color GetColor(ColorType colorType) { return colors[colorType]; } }