unity-atoms/Packages/Core/Runtime/Attributes/UseIcon/UseIcon.cs

19 lines
444 B
C#
Raw Normal View History

2019-10-02 11:21:27 -04: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)]
public class UseIcon : Attribute
{
public UseIcon(string name)
{
Name = name;
}
public string Name { get; set; }
}
}