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