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:
parent
257d012c4d
commit
935cc56602
@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user