/// <summary> /// Creates a transition from node to node /// </summary> public static void CreateTransition(Node fromNode, Node toNode) { Transition trans = Transition.Create(fromNode, toNode); if (trans != null) { fromNode.OnAddTransition(trans); toNode.OnAddTransition(trans); NodeEditorCallbacks.IssueOnAddTransition(trans); } }