app.hypergames.hypersdk 1.8.16 → 1.8.17
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.17](https://github.com/mvmhyper/hyper-sdk/compare/v1.8.16...v1.8.17) (2026-06-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* show ping UI in production ([bdbac8b](https://github.com/mvmhyper/hyper-sdk/commit/bdbac8b07aae39cb1142e4a90b93f0b1d2b97a08))
|
|
7
|
+
|
|
1
8
|
## [1.8.16](https://github.com/mvmhyper/hyper-sdk/compare/v1.8.15...v1.8.16) (2026-06-11)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -53,8 +53,6 @@ namespace Hyper.Internal
|
|
|
53
53
|
private const float MidBarAlphaBad = 0.3f;
|
|
54
54
|
private const float LowBarAlphaBad = 0.65f;
|
|
55
55
|
|
|
56
|
-
private const string HypergamesProductionApiUrl = "https://api.hypergames.app";
|
|
57
|
-
|
|
58
56
|
#if UNITY_EDITOR
|
|
59
57
|
[Header("Editor test")]
|
|
60
58
|
[SerializeField] private bool simulateRandomPingInEditor = true;
|
|
@@ -235,10 +233,7 @@ namespace Hyper.Internal
|
|
|
235
233
|
if (HyperRuntime.GameManager == null || !HyperRuntime.GameManager.IsBattleMode)
|
|
236
234
|
return false;
|
|
237
235
|
|
|
238
|
-
|
|
239
|
-
return true;
|
|
240
|
-
|
|
241
|
-
return _backendManager.GetServerUrl() != HypergamesProductionApiUrl;
|
|
236
|
+
return true;
|
|
242
237
|
}
|
|
243
238
|
|
|
244
239
|
private static void SetActiveSafe(GameObject go, bool active)
|
|
@@ -4,7 +4,9 @@ namespace Hyper
|
|
|
4
4
|
{
|
|
5
5
|
/// <summary>
|
|
6
6
|
/// Allows a UI element to render outside the SDK safe area.
|
|
7
|
-
/// Useful for full-screen canvas
|
|
7
|
+
/// Useful for a single full-screen canvas background that should extend behind notches or insets.
|
|
8
|
+
/// Do not place this on a parent object that contains buttons, text, score UI, or other elements
|
|
9
|
+
/// that should remain inside the safe area.
|
|
8
10
|
/// </summary>
|
|
9
11
|
[AddComponentMenu("Hyper/Ignore Safe Area")]
|
|
10
12
|
[DisallowMultipleComponent]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "app.hypergames.hypersdk",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.17",
|
|
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",
|