添加了教育平台
This commit is contained in:
18
BITKit/Scripts/GraphNode/GraphNodeConnector.cs
Normal file
18
BITKit/Scripts/GraphNode/GraphNodeConnector.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user