static PluginInfo() { if (open) { return; } bool showInfo = EditorPrefs.GetString("ShowPluginInfo.version", "") != version; if (!showInfo) { return; } InitWindow window = EditorWindow.GetWindow <InitWindow>(true); window.init(); EditorPrefs.SetString("ShowPluginInfo.version", version); open = true; }
static PluginInfo() { if (open) { return; } bool showInfo = EditorPrefs.GetBool("ShowPluginInfo" + version, true); if (!showInfo) { return; } InitWindow window = EditorWindow.GetWindow <InitWindow>(true); window.init(); EditorPrefs.SetBool("ShowPluginInfo" + PluginInfo.version, false); open = true; }
public static void OpenWindow() { InitWindow window = EditorWindow.GetWindow <InitWindow>(true); window.init(); }