Files
XCharts/Assets/XCharts/Editor/Attributes/SerieEditorAttribute.cs

23 lines
634 B
C#
Raw Normal View History

2021-11-23 13:20:07 +08:00
2021-01-11 08:54:28 +08:00
/************************************************/
/* */
/* Copyright (c) 2018 - 2021 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/************************************************/
2021-11-23 13:20:07 +08:00
using System;
2021-01-11 08:54:28 +08:00
namespace XCharts
{
2021-11-23 13:20:07 +08:00
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class SerieEditorAttribute : Attribute
2021-01-11 08:54:28 +08:00
{
2021-11-23 13:20:07 +08:00
public readonly Type serieType;
public SerieEditorAttribute(Type serieType)
2021-01-11 08:54:28 +08:00
{
2021-11-23 13:20:07 +08:00
this.serieType = serieType;
2021-01-11 08:54:28 +08:00
}
}
}