static void ShowWindow() { if (cWin != null) { return; } cWin = (RapidBuildEditorTool)GetWindow(typeof(RapidBuildEditorTool)); cWin.Show(); cWin.Init(); }
void OnDestroy() { SaveAltasSetting(); cWin = null; }