app.hypergames.hypersdk 1.11.4 → 1.11.5
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.5](https://github.com/mvmhyper/hyper-sdk/compare/v1.11.4...v1.11.5) (2026-10-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **sdk:** restore connection icon in battle mode ([6618e40](https://github.com/mvmhyper/hyper-sdk/commit/6618e40c125fac37372d21243d4b8e41a2779661))
|
|
7
|
+
|
|
1
8
|
## [1.11.4](https://github.com/mvmhyper/hyper-sdk/compare/v1.11.3...v1.11.4) (2026-10-16)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -230,7 +230,8 @@ namespace Hyper.Internal
|
|
|
230
230
|
|
|
231
231
|
private bool ShouldUseDynamicPingIcon()
|
|
232
232
|
{
|
|
233
|
-
if (HyperRuntime.GameManager == null ||
|
|
233
|
+
if (HyperRuntime.GameManager == null ||
|
|
234
|
+
!HyperRuntime.GameManager.IsBattleMode || HyperRuntime.GameManager.IsReplayMode)
|
|
234
235
|
return false;
|
|
235
236
|
|
|
236
237
|
return true;
|
|
@@ -20,7 +20,7 @@ namespace Hyper.Internal
|
|
|
20
20
|
[SerializeField] private Image safeAreaFillerBG;
|
|
21
21
|
[SerializeField] private Image pauseButtonImage;
|
|
22
22
|
[SerializeField] private Image pauseBarsImage;
|
|
23
|
-
[SerializeField] private
|
|
23
|
+
[SerializeField] private GameObject connectionStatusRoot;
|
|
24
24
|
[Tooltip("Shown only for the Hearts Left layout in landscape orientation.")]
|
|
25
25
|
[FormerlySerializedAs("pcLandscapeHeartsDivider")]
|
|
26
26
|
[SerializeField] private GameObject landscapeHeartsDivider;
|
|
@@ -79,8 +79,6 @@ namespace Hyper.Internal
|
|
|
79
79
|
ConfigureTheme();
|
|
80
80
|
|
|
81
81
|
ConfigureReplayState();
|
|
82
|
-
|
|
83
|
-
// connectionStatusIcon?.onClick.AddListener(ShowConnectionLostStatus);
|
|
84
82
|
}
|
|
85
83
|
|
|
86
84
|
private void ConfigureControlBarBackground()
|
|
@@ -95,11 +93,6 @@ namespace Hyper.Internal
|
|
|
95
93
|
}
|
|
96
94
|
}
|
|
97
95
|
|
|
98
|
-
private void OnDestroy()
|
|
99
|
-
{
|
|
100
|
-
// connectionStatusIcon?.onClick.RemoveListener(ShowConnectionLostStatus);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
96
|
private void CacheTextComponents()
|
|
104
97
|
{
|
|
105
98
|
_scoreTextComponent = scoreTextRect.GetComponent<TextMeshProUGUI>();
|
|
@@ -316,13 +309,6 @@ namespace Hyper.Internal
|
|
|
316
309
|
pauseBarsImage.sprite = pauseBarsLight;
|
|
317
310
|
}
|
|
318
311
|
|
|
319
|
-
private void ShowConnectionLostStatus()
|
|
320
|
-
{
|
|
321
|
-
if (HyperRuntime.GameManager != null && HyperRuntime.GameManager.IsReplayMode) return;
|
|
322
|
-
// Show the connection lost status
|
|
323
|
-
_gameManager.ShowConnectionLost();
|
|
324
|
-
}
|
|
325
|
-
|
|
326
312
|
private void ConfigureReplayState()
|
|
327
313
|
{
|
|
328
314
|
Transform[] children = GetComponentsInChildren<Transform>(true);
|
|
@@ -338,7 +324,8 @@ namespace Hyper.Internal
|
|
|
338
324
|
{
|
|
339
325
|
_replayMarker.SetActive(replay);
|
|
340
326
|
}
|
|
341
|
-
if (
|
|
327
|
+
if (connectionStatusRoot != null)
|
|
328
|
+
connectionStatusRoot.SetActive(_gameManager != null && _gameManager.IsBattleMode && !replay);
|
|
342
329
|
}
|
|
343
330
|
|
|
344
331
|
public void UpdateScoreLabel()
|
|
@@ -1658,7 +1658,7 @@ MonoBehaviour:
|
|
|
1658
1658
|
safeAreaFillerBG: {fileID: 3440821273415505907}
|
|
1659
1659
|
pauseButtonImage: {fileID: 6337179202905528179}
|
|
1660
1660
|
pauseBarsImage: {fileID: 7880691058749829457}
|
|
1661
|
-
|
|
1661
|
+
connectionStatusRoot: {fileID: 7998827318738212946}
|
|
1662
1662
|
landscapeHeartsDivider: {fileID: 5140490410473491407}
|
|
1663
1663
|
pauseBarsLight: {fileID: 21300000, guid: 5bf785ff9f45bcf4a89ffc70e363eb69, type: 3}
|
|
1664
1664
|
pauseBarsDark: {fileID: 21300000, guid: 023ea868e45992b46ab65bc4b6fb72c7, type: 3}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "app.hypergames.hypersdk",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.5",
|
|
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",
|