app.hypergames.hypersdk 1.11.0-beta.31 → 1.11.0-beta.32
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.11.0-beta.32](https://github.com/mvmhyper/hyper-sdk/compare/v1.11.0-beta.31...v1.11.0-beta.32) (2026-09-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **ui:** set landscape canvas scaler match to 0.75 ([edc44eb](https://github.com/mvmhyper/hyper-sdk/commit/edc44ebcc229d68ed40eb60b05df3ed25c5053f8))
|
|
7
|
+
|
|
1
8
|
# [1.11.0-beta.31](https://github.com/mvmhyper/hyper-sdk/compare/v1.11.0-beta.30...v1.11.0-beta.31) (2026-09-09)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -1334,7 +1334,7 @@ namespace Hyper.Internal.Managers
|
|
|
1334
1334
|
_canvasScaler = _canvas.GetComponent<CanvasScaler>();
|
|
1335
1335
|
_canvasScaler.uiScaleMode = CanvasScaler.ScaleMode.ScaleWithScreenSize;
|
|
1336
1336
|
_canvasScaler.referenceResolution = new Vector2(1080, 2160);
|
|
1337
|
-
_canvasScaler.matchWidthOrHeight = IsPortrait() ? 1f : 0.
|
|
1337
|
+
_canvasScaler.matchWidthOrHeight = IsPortrait() ? 1f : 0.75f;
|
|
1338
1338
|
|
|
1339
1339
|
CreateHyperCanvasSafeArea();
|
|
1340
1340
|
CreateHyperCanvasBlockerUI();
|
|
@@ -110,7 +110,7 @@ namespace Hyper.Internal
|
|
|
110
110
|
CanvasScaler scaler = GetComponent<CanvasScaler>();
|
|
111
111
|
scaler.uiScaleMode = CanvasScaler.ScaleMode.ScaleWithScreenSize;
|
|
112
112
|
scaler.referenceResolution = new Vector2(1080f, 2160f);
|
|
113
|
-
scaler.matchWidthOrHeight = isPortrait ? 1f : 0.
|
|
113
|
+
scaler.matchWidthOrHeight = isPortrait ? 1f : 0.75f;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
private void EnsurePresentationObjects()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "app.hypergames.hypersdk",
|
|
3
|
-
"version": "1.11.0-beta.
|
|
3
|
+
"version": "1.11.0-beta.32",
|
|
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",
|