First commit
This commit is contained in:
17
Runtime/Attributes/NodeInfoAttribute.cs
Normal file
17
Runtime/Attributes/NodeInfoAttribute.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Misaki.GraphView
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
|
||||
public class NodeInfoAttribute : System.Attribute
|
||||
{
|
||||
public string Name { get; }
|
||||
public string Category { get; }
|
||||
|
||||
public NodeInfoAttribute(string name, string category)
|
||||
{
|
||||
Name = name;
|
||||
Category = category;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user