mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-23 08:38:23 -05:00
19 lines
450 B
C#
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; }
|
|
}
|
|
}
|