Visual Scripting: Improved cable creation

This commit is contained in:
DarthAffe committed 2021-07-16 16:17:15 +02:00
1 parent d27ce2bdf9
commit 1e67c1c567
2 files changed
+7 -4

No files matched your search

@@ -8,17 +8,18 @@ namespace Artemis.VisualScripting.Internal
#region Properties & Fields
public override PinDirection Direction { get; }
public override Type Type { get; } = typeof(object);
public override Type Type { get; }
public override object PinValue => null;
#endregion
#region Constructors
public IsConnectingPin(PinDirection direction)
public IsConnectingPin(PinDirection direction, Type type)
: base(null, null)
{
this.Direction = direction;
this.Type = type;
}
#endregion