static void init()
 {
     if (editor)
     {
         editor.Close();
     }
     editor = EditorWindow.GetWindow<CardCreator>();
     cards.Clear();
     Card[] c = editor.Load();
     if (c != null)
     {
         cards.AddRange(c);
     }
     Reposition();
 }