A game about forced loneliness, made by TACStudios
1using UnityEditor;
2
3namespace Unity.VisualScripting
4{
5 public static class FlowDragAndDropUtility
6 {
7 public static bool AcceptsScript(IGraph graph)
8 {
9 // Can't drag a graph into itself
10 return DragAndDrop.objectReferences[0] is ScriptGraphAsset graphAsset && graph != graphAsset.graph;
11 }
12 }
13}