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;
|
||||
}
|
||||
}
|
||||
}
|
||||
3
Runtime/Attributes/NodeInfoAttribute.cs.meta
Normal file
3
Runtime/Attributes/NodeInfoAttribute.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7a9f3e860ebb49e083daff93281df251
|
||||
timeCreated: 1730110191
|
||||
15
Runtime/Attributes/NodeInputAttribute.cs
Normal file
15
Runtime/Attributes/NodeInputAttribute.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace Misaki.GraphView
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
|
||||
public class NodeInputAttribute : System.Attribute
|
||||
{
|
||||
public string Name { get; }
|
||||
|
||||
public NodeInputAttribute(string name = null)
|
||||
{
|
||||
Name = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
3
Runtime/Attributes/NodeInputAttribute.cs.meta
Normal file
3
Runtime/Attributes/NodeInputAttribute.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0ddc12f5058549659c8bea889e611e9e
|
||||
timeCreated: 1730110839
|
||||
15
Runtime/Attributes/NodeOutputAttribute.cs
Normal file
15
Runtime/Attributes/NodeOutputAttribute.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace Misaki.GraphView
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
|
||||
public class NodeOutputAttribute : System.Attribute
|
||||
{
|
||||
public string Name { get; }
|
||||
|
||||
public NodeOutputAttribute(string name = null)
|
||||
{
|
||||
Name = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
3
Runtime/Attributes/NodeOutputAttribute.cs.meta
Normal file
3
Runtime/Attributes/NodeOutputAttribute.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3ba195a0a6e14defaa983ac85c44998c
|
||||
timeCreated: 1730110931
|
||||
Reference in New Issue
Block a user