Files
Hasebe/Library/PackageCache/com.unity.2d.sprite@b95ff9c6e864/Editor/ProjectSettings/SpriteEditorWindowProjectSettingsAttribute.cs
T
2026-09-25 00:42:08 +03:00

17 lines
575 B
C#

using System;
namespace UnityEditor.U2D.Sprites.ProjectSettings
{
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
internal class SpriteEditorWindowProjectSettingsAttribute : Attribute
{
public string name { get; }
public string[] searchKeyWords { get; }
public SpriteEditorWindowProjectSettingsAttribute(string name, string[] searchKeyWords = null)
{
this.name = name ?? "";
this.searchKeyWords = searchKeyWords ?? Array.Empty<string>();
}
}
}