Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/v1.3.3' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisonHough committed Jun 28, 2023
2 parents b44457e + bf989e4 commit 354535c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 24 deletions.
14 changes: 3 additions & 11 deletions .github/latest.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
This release includes a new API for async avatar loading and a new setup guide window as well as a number of bug fixes and improvements.
This hotfix includes a fix to the setup guide window for first time import.

## Changelog

### Added
- API for async avatar loading [#76](https://github.com/readyplayerme/rpm-unity-sdk-avatar-loader/pull/76)
- added setup guide window [#85](https://github.com/readyplayerme/rpm-unity-sdk-avatar-loader/pull/85)

### Updated
- updates for core module refactor [#78](https://github.com/readyplayerme/rpm-unity-sdk-avatar-loader/pull/78)
- general cleanup and refactor [#79](https://github.com/readyplayerme/rpm-unity-sdk-avatar-loader/pull/79)
- refactor of multiple avatar renderer example [#83](https://github.com/readyplayerme/rpm-unity-sdk-avatar-loader/pull/83)
- refactor of avatar cache [#86](https://github.com/readyplayerme/rpm-unity-sdk-avatar-loader/pull/86)
- documentation UI improvements [#87](https://github.com/readyplayerme/rpm-unity-sdk-avatar-loader/pull/87)
### Fixed
- setup guide now opens on first time package is imported
17 changes: 5 additions & 12 deletions Editor/UI/EditorWindows/SetupGuideWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,7 @@ public class SetupGuideWindow : EditorWindow
/// </summary>
static SetupGuideWindow()
{
EntryPoint.Startup += OnStartup;
}

/// <summary>
/// This method is called when Unity Editor is closed or this package is removed.
/// </summary>
private void OnDestroy()
{
EntryPoint.Startup -= OnStartup;
EditorApplication.update += OnStartup;
}

/// <summary>
Expand All @@ -54,6 +46,7 @@ private static void OnStartup()
AnalyticsEditorLogger.EventLogger.IdentifyUser();
EditorApplication.quitting += OnQuit;
}
EditorApplication.update -= OnStartup;
}

private static bool CanShowWindow()
Expand Down Expand Up @@ -85,7 +78,7 @@ private void LoadPanels()
{
new SubdomainPanel(),
new AvatarConfigPanel(),
new AnalyticsPanel(),
new AnalyticsPanel()
};

header ??= new Header(WINDOW_NAME);
Expand All @@ -105,7 +98,7 @@ private GUIStyle GetButtonStyle()
fontSize = BUTTON_FONT_SIZE,
padding = new RectOffset(10, 10, 5, 5),
fixedHeight = 30,
stretchWidth = true,
stretchWidth = true
};
}

Expand Down Expand Up @@ -202,7 +195,7 @@ private void OnOpenQuickStartScene()
{
if (!new QuickStartHelper().Open())
{
EditorUtility.DisplayDialog(WINDOW_NAME,"No quick start sample found.","OK" );
EditorUtility.DisplayDialog(WINDOW_NAME, "No quick start sample found.", "OK");
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.readyplayerme.avatarloader",
"version": "1.3.2",
"version": "1.3.3",
"displayName": "Ready Player Me Avatar Loader",
"description": "Avatar Loader is responsible for downloading, importing and preparing Ready Player Me avatars for use in editor and runtime.",
"unity": "2020.3",
Expand Down

0 comments on commit 354535c

Please sign in to comment.