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