diff --git a/Editor/Module Management/ModuleUpdater.cs b/Editor/Module Management/ModuleUpdater.cs index 6b9f1c88..e809c4ae 100644 --- a/Editor/Module Management/ModuleUpdater.cs +++ b/Editor/Module Management/ModuleUpdater.cs @@ -43,7 +43,6 @@ private class Release private const string AVATAR_LOADER_PACKAGE = "com.readyplayerme.avatarloader"; - static ModuleUpdater() { EntryPoint.Startup += () => Check(true); @@ -52,7 +51,7 @@ static ModuleUpdater() /// /// Check for Ready Player Me package updates. /// - [MenuItem("Ready Player Me/Check For Updates")] + [MenuItem("Ready Player Me/Check For Updates", priority = 23)] public static void CheckForUpdates() { AnalyticsEditorLogger.EventLogger.LogCheckForUpdates(); @@ -81,7 +80,6 @@ private static void Check(bool isStartup = false) .Split(new[] { ".git" }, StringSplitOptions.None)[0] .Replace(GITHUB_WEBSITE, GITHUB_API_URL) + "/releases"; - var packageUrl = repoUrl.Split('#')[0]; // Experimental or prerelease packages might look like 0.1.0-exp.1, remove after dash to parse with Version diff --git a/Editor/UI/EditorWindows/AvatarLoaderEditor/AvatarLoaderEditor.cs b/Editor/UI/EditorWindows/AvatarLoaderEditor/AvatarLoaderEditor.cs index 335e17ea..864cb291 100644 --- a/Editor/UI/EditorWindows/AvatarLoaderEditor/AvatarLoaderEditor.cs +++ b/Editor/UI/EditorWindows/AvatarLoaderEditor/AvatarLoaderEditor.cs @@ -25,7 +25,7 @@ public class AvatarLoaderEditor : EditorWindow private bool useEyeAnimations; private bool useVoiceToAnim; - [MenuItem("Ready Player Me/Avatar Loader", priority = 0)] + [MenuItem("Ready Player Me/Avatar Loader", priority = 1)] public static void ShowWindow() { #if !GLTFAST diff --git a/Editor/UI/EditorWindows/IntegrationGuide/IntegrationGuide.cs b/Editor/UI/EditorWindows/IntegrationGuide/IntegrationGuide.cs index d5996b04..3cf2f442 100644 --- a/Editor/UI/EditorWindows/IntegrationGuide/IntegrationGuide.cs +++ b/Editor/UI/EditorWindows/IntegrationGuide/IntegrationGuide.cs @@ -21,7 +21,7 @@ public class IntegrationGuide : EditorWindow [SerializeField] private VisualTreeAsset visualTreeAsset; - [MenuItem("Ready Player Me/Integration Guide")] + [MenuItem("Ready Player Me/Integration Guide", priority = 12)] public static void ShowWindow() { var window = GetWindow(); diff --git a/Editor/UI/EditorWindows/SetupGuide/SetupGuide.cs b/Editor/UI/EditorWindows/SetupGuide/SetupGuide.cs index 88992496..8c7570ef 100644 --- a/Editor/UI/EditorWindows/SetupGuide/SetupGuide.cs +++ b/Editor/UI/EditorWindows/SetupGuide/SetupGuide.cs @@ -35,7 +35,7 @@ public class SetupGuide : EditorWindow private Button finishSetupButton; private Button openQuickStartButton; - [MenuItem("Ready Player Me/Setup Guide")] + [MenuItem("Ready Player Me/Setup Guide", priority = 12)] public static void ShowWindow() { var window = GetWindow();