1
0
mirror of https://github.com/Siccity/xNode.git synced 2026-02-04 22:34:54 +08:00

Update NodeEditorAction.cs

This commit is contained in:
MowfaqAlarbi 2019-09-04 05:31:57 +02:00 committed by GitHub
parent 257d012c4d
commit 935cc56602
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -500,13 +500,5 @@ namespace XNodeEditor {
else else
draggedPort.Connect(graph.nodes.Last().Ports.Where(r => r.IsInput == true).ToArray()[0]); draggedPort.Connect(graph.nodes.Last().Ports.Where(r => r.IsInput == true).ToArray()[0]);
} }
private bool SomeNodesSelected()
{
foreach(UnityEngine.Object obj in Selection.objects)
{
return graph.nodes.Any(r => r.Equals((XNode.Node)obj));
}
return false;
}
} }
} }