public static void WindowUndo(SpreadSheetConvertToolWindow win, string text) { if (win != null) { Undo.RecordObject(win, text); } }
private static void Open() { IsInitialized = false; win = GetWindow <SpreadSheetConvertToolWindow>(); win.titleContent.text = WindowHelper.WINDOW_TITLE; win.minSize = WindowHelper.WINDOW_SIZE; win.Show(); }