private static BTEditorGraphNode CreateEmptyNode() { BTEditorGraphNode graphNode = ScriptableObject.CreateInstance <BTEditorGraphNode>(); graphNode.OnCreated(); graphNode.hideFlags = HideFlags.HideAndDontSave; return(graphNode); }