17 lines
418 B
C#
17 lines
418 B
C#
|
using System;
|
||
|
|
||
|
namespace Unity.VisualScripting
|
||
|
{
|
||
|
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
|
||
|
public class PortLabelAttribute : Attribute
|
||
|
{
|
||
|
public PortLabelAttribute(string label)
|
||
|
{
|
||
|
this.label = label;
|
||
|
}
|
||
|
|
||
|
public string label { get; private set; }
|
||
|
public bool hidden { get; set; }
|
||
|
}
|
||
|
}
|