public static void Init() { changelog = EditorHelpers.LoadChangelog(); FlowReactorChangelogWindow window = (FlowReactorChangelogWindow)EditorWindow.GetWindow(typeof(FlowReactorChangelogWindow)); window.maxSize = new Vector2(500f, 600f); window.minSize = new Vector2(500f, 600f); window.Show(); }
//[UnityEditor.Callbacks.DidReloadScripts] static void ShowChangelogAfterCompilation() { if (settings == null) { settings = FREditorSettings.GetOrCreateSettings(); } var _newVersion = EditorHelpers.GetEditorVersion(); if (settings.version != _newVersion) { settings.version = _newVersion; FlowReactorChangelogWindow.Init(); } }