mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 01:06:01 +08:00
13 lines
344 B
C#
13 lines
344 B
C#
using System;
|
|
|
|
namespace XNode {
|
|
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
|
|
public class NodeWidthAttribute : Attribute {
|
|
public int width;
|
|
/// <summary> Specify a width for this node type </summary>
|
|
/// <param name="width"> Width </param>
|
|
public NodeWidthAttribute(int width) {
|
|
this.width = width;
|
|
}
|
|
}
|
|
} |