using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "ActionTool Settings")] public class ActionToolSettings : ScriptableObject { public List eventNames = new List(); public List eventColors = new List(); public Color GetColor(string eventName) { if(eventNames.Contains(eventName)) { return eventColors[eventNames.IndexOf(eventName)]; } return Color.black; } }