Skip to content

Commit

Permalink
com.utilities.rest 2.2.7 (#53)
Browse files Browse the repository at this point in the history
- refactored AbstractAuthentication.LoadFromAsset<T> to take optional scriptable object asset to skip expensive Resources.LoadAll<T> in implementations
  • Loading branch information
StephenHodgson authored Nov 28, 2023
1 parent d29d316 commit 750cdac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public abstract class AbstractAuthentication<TAuthentication, TAuthInfo> : IAuth
/// <returns>
/// The loaded <see cref="IAuthentication{T}"/> or <see langword="null"/>.
/// </returns>
public abstract TAuthentication LoadFromAsset<T>() where T : ScriptableObject, IConfiguration;
public abstract TAuthentication LoadFromAsset<T>(T asset = null) where T : ScriptableObject, IConfiguration;

/// <summary>
/// Attempts to load the authentication from the system environment variables.
Expand Down
2 changes: 1 addition & 1 deletion Utilities.Rest/Packages/com.utilities.rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Utilities.Rest",
"description": "This package contains useful RESTful utilities for the Unity Game Engine.",
"keywords": [],
"version": "2.2.6",
"version": "2.2.7",
"unity": "2021.3",
"documentationUrl": "https://github.com/RageAgainstThePixel/com.utilities.rest#documentation",
"changelogUrl": "https://github.com/RageAgainstThePixel/com.utilities.rest/releases",
Expand Down
2 changes: 1 addition & 1 deletion Utilities.Rest/Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"dependencies": {
"com.unity.ide.rider": "3.0.26",
"com.unity.ide.visualstudio": "2.0.22",
"com.utilities.buildpipeline": "1.1.8"
"com.utilities.buildpipeline": "1.1.9"
},
"scopedRegistries": [
{
Expand Down

0 comments on commit 750cdac

Please sign in to comment.