app.hypergames.hypersdk 1.8.1 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.8.2](https://github.com/mvmhyper/hyper-sdk/compare/v1.8.1...v1.8.2) (2026-04-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **ui:** adjust canvas scaler match value for landscape to 0.63 ([c8e98ba](https://github.com/mvmhyper/hyper-sdk/commit/c8e98ba2fd112f5501959a3e7dc078fe4dc4cba3))
|
|
7
|
+
|
|
1
8
|
## [1.8.1](https://github.com/mvmhyper/hyper-sdk/compare/v1.8.0...v1.8.1) (2026-04-02)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -999,7 +999,7 @@ namespace Hyper.Internal.Managers
|
|
|
999
999
|
_canvasScaler = _canvas.GetComponent<CanvasScaler>();
|
|
1000
1000
|
_canvasScaler.uiScaleMode = CanvasScaler.ScaleMode.ScaleWithScreenSize;
|
|
1001
1001
|
_canvasScaler.referenceResolution = new Vector2(1080, 1920);
|
|
1002
|
-
_canvasScaler.matchWidthOrHeight = IsPortrait() ? 0.43f : 0.
|
|
1002
|
+
_canvasScaler.matchWidthOrHeight = IsPortrait() ? 0.43f : 0.63f;
|
|
1003
1003
|
|
|
1004
1004
|
CreateSafeArea();
|
|
1005
1005
|
CreateBlockerUI();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "app.hypergames.hypersdk",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.2",
|
|
4
4
|
"displayName": "HyperSDK",
|
|
5
5
|
"description": "Official Unity SDK for Hyper: multiplayer battles, leaderboards, deterministic RNG, session management, tutorials, and WebGL optimizations for production-ready games.",
|
|
6
6
|
"unity": "6000.0",
|