3.0 - unitypackage

This commit is contained in:
monitor1394
2022-01-05 21:40:48 +08:00
parent c160867765
commit 228a4b2840
846 changed files with 105 additions and 467693 deletions

View File

@@ -0,0 +1,23 @@
using System;
namespace XCharts
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class ComponentHandlerAttribute : Attribute
{
public readonly Type handler;
public readonly bool allowMultiple = true;
public ComponentHandlerAttribute(Type handler)
{
this.handler = handler;
this.allowMultiple = true;
}
public ComponentHandlerAttribute(Type handler, bool allowMultiple)
{
this.handler = handler;
this.allowMultiple = allowMultiple;
}
}
}