// Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2024 Kybernetik //
#if UNITY_EDITOR
using System;
namespace Animancer.Editor
{
    /// [Editor-Only]
    /// Attribute for classes which implement  to specify the type of objects they apply to.
    /// 
    /// https://kybernetik.com.au/animancer/api/Animancer.Editor/CustomGUIAttribute
    /// 
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
    public sealed class CustomGUIAttribute : Attribute
    {
        /************************************************************************************************************************/
        /// The type of object which the attributed  class applies to.
        public readonly Type TargetType;
        /************************************************************************************************************************/
        /// Creates a new .
        public CustomGUIAttribute(Type targetType)
        {
            TargetType = targetType;
        }
        /************************************************************************************************************************/
    }
}
#endif