unity-atoms/Packages/Core/Runtime/Attributes/EditorIcon.cs
Adam Ramberg 5d9f8dca71 WIP
2020-03-01 21:32:52 +01:00

19 lines
450 B
C#

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)]
public class EditorIcon : Attribute
{
public EditorIcon(string name)
{
Name = name;
}
public string Name { get; set; }
}
}