public static void Open(NodeGraph graph) { #if UNITY_EDITOR TriggerEditorUtility.MapInit(); Load(AssetDatabase.GetAssetPath(graph)); #endif }
public static void Refresh() { TriggerEditorUtility.MapInit(); if (EditorPrefs.HasKey("LastMap")) { Load(EditorPrefs.GetString("LastMap")); } else { curNodeGraph = null; } }