19 lines
450 B
C#
Raw Normal View History

2019-10-02 17:21:27 +02:00
using System;
namespace UnityAtoms
{
/// <summary>
/// Specify a texture name from your assets which you want to be assigned as an icon to the MonoScript.
/// </summary>
[AttributeUsage(AttributeTargets.All, Inherited = true, AllowMultiple = false)]
2019-10-14 16:51:54 +02:00
public class EditorIcon : Attribute
2019-10-02 17:21:27 +02:00
{
2019-10-14 16:51:54 +02:00
public EditorIcon(string name)
2019-10-02 17:21:27 +02:00
{
Name = name;
}
public string Name { get; set; }
}
}