mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 06:50:18 +00:00
3.0 - unitypackage
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
||||
public sealed class RequireChartComponentAttribute : Attribute
|
||||
{
|
||||
public readonly Type type0;
|
||||
public readonly Type type1;
|
||||
public readonly Type type2;
|
||||
|
||||
public RequireChartComponentAttribute(Type requiredComponent)
|
||||
{
|
||||
type0 = requiredComponent;
|
||||
}
|
||||
public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2)
|
||||
{
|
||||
type0 = requiredComponent;
|
||||
type1 = requiredComponent2;
|
||||
}
|
||||
public RequireChartComponentAttribute(Type requiredComponent, Type requiredComponent2, Type requiredComponent3)
|
||||
{
|
||||
type0 = requiredComponent;
|
||||
type1 = requiredComponent2;
|
||||
type2 = requiredComponent3;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user