/// <summary> /// Deletes this Transition from the Nodes /// </summary> public void Delete() { NodeEditorCallbacks.IssueOnRemoveTransition(this); startNode.transitions.Remove(this); endNode.transitions.Remove(this); UnityEngine.Object.DestroyImmediate(this, true); }