19 lines
525 B
C#
19 lines
525 B
C#
using Godot;
|
|
using System;
|
|
|
|
namespace BITKit;
|
|
|
|
public partial class GraphNodeConnector : GraphEdit
|
|
{
|
|
// public override bool _IsNodeHoverValid(StringName fromNode, int fromPort, StringName toNode, int toPort)
|
|
// {
|
|
// //return base._IsNodeHoverValid(fromNode, fromPort, toNode, toPort);
|
|
// ConnectNode(fromNode, fromPort, toNode, toPort);
|
|
// return true;
|
|
// }
|
|
private void RequestConnection(StringName fromNode, int fromPort, StringName toNode, int toPort)
|
|
{
|
|
ConnectNode(fromNode, fromPort, toNode, toPort);
|
|
}
|
|
}
|