mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-20 23:40:10 +00:00
3.0 - unitypackage
This commit is contained in:
17
Editor/Attributes/ComponentEditorAttribute.cs
Normal file
17
Editor/Attributes/ComponentEditorAttribute.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
|
||||
using System;
|
||||
|
||||
namespace XCharts.Editor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
|
||||
public sealed class ComponentEditorAttribute : Attribute
|
||||
{
|
||||
public readonly Type componentType;
|
||||
|
||||
public ComponentEditorAttribute(Type componentType)
|
||||
{
|
||||
this.componentType = componentType;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user