Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SDK-544] feat: update context menu ordering to add separators #129

Merged
merged 1 commit into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Editor/Module Management/ModuleUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ private class Release

private const string AVATAR_LOADER_PACKAGE = "com.readyplayerme.avatarloader";


static ModuleUpdater()
{
EntryPoint.Startup += () => Check(true);
Expand All @@ -52,7 +51,7 @@ static ModuleUpdater()
/// <summary>
/// Check for Ready Player Me package updates.
/// </summary>
[MenuItem("Ready Player Me/Check For Updates")]
[MenuItem("Ready Player Me/Check For Updates", priority = 23)]
public static void CheckForUpdates()
{
AnalyticsEditorLogger.EventLogger.LogCheckForUpdates();
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<IntegrationGuide>();
Expand Down
2 changes: 1 addition & 1 deletion Editor/UI/EditorWindows/SetupGuide/SetupGuide.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<SetupGuide>();
Expand Down