using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AI.BT { [AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = true)] public class ColorAttribute : Attribute { public Color Color { get; private set; } public ColorAttribute(float r, float g, float b, float a = 1.0f) { Color = new Color(r, g, b, a); } } }