app.hypergames.hypersdk 1.5.10 → 1.7.0
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 +21 -0
- package/Editor/Scripts/Tools/HyperBuildAssistant.cs +4 -3
- package/Editor/Scripts/Windows/HyperGameContentWindow.cs +10 -0
- package/Editor/Scripts/Windows/HyperSettingsWindow.cs +10 -0
- package/HyperLoader.unity +3 -3
- package/Runtime/Internal/Bootstrap/HyperLoader.cs +57 -10
- package/Runtime/Internal/Bootstrap/HyperProductionLoggingBootstrap.cs +19 -0
- package/Runtime/Internal/Bootstrap/HyperProductionLoggingBootstrap.cs.meta +11 -0
- package/Runtime/Internal/Core/HyperRuntime.cs +16 -0
- package/Runtime/Internal/Managers/BackendManager.cs +110 -82
- package/Runtime/Internal/Managers/DataManager.cs +0 -11
- package/Runtime/Internal/Managers/EventManager.cs +1 -1
- package/Runtime/Internal/Managers/GameManager.cs +29 -23
- package/Runtime/Internal/Managers/TimeManager.cs +5 -0
- package/Runtime/Internal/ScriptableObjects/HyperGameContentConfig.cs +8 -0
- package/Runtime/Internal/UI/Modals/GamePausedModal.cs +1 -8
- package/Runtime/Plugins/WebGL/HyperCorePlugin.jslib +26 -0
- package/Runtime/Public/Core/HyperSDK.cs +191 -0
- package/Runtime/Public/PlayerDeviceClassification.cs +41 -0
- package/Runtime/Public/PlayerDeviceClassification.cs.meta +2 -0
- package/Runtime/Resources/HyperGameContentConfig.asset +1 -0
- package/Runtime/Resources/UIPrefabs/GamePausedModal_Battle.prefab +1 -1
- package/Runtime/Resources/UIPrefabs/ScoreSubmissionFailedModal_Landscape.prefab +16 -16
- package/Runtime/Resources/UIPrefabs/TimeUpModal.prefab +59 -14
- package/Runtime/Shared/DTOs/Enums.cs +1 -1
- package/Runtime/Shared/Utils/HyperDebug.cs +1 -1
- package/package.json +4 -4
|
@@ -108,7 +108,6 @@ GameObject:
|
|
|
108
108
|
m_Component:
|
|
109
109
|
- component: {fileID: 7363684731116559227}
|
|
110
110
|
- component: {fileID: 7474295978719854104}
|
|
111
|
-
- component: {fileID: 8927388423251347516}
|
|
112
111
|
- component: {fileID: 4574435796561651467}
|
|
113
112
|
m_Layer: 5
|
|
114
113
|
m_Name: TimeUpModal
|
|
@@ -129,6 +128,7 @@ RectTransform:
|
|
|
129
128
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
130
129
|
m_ConstrainProportionsScale: 0
|
|
131
130
|
m_Children:
|
|
131
|
+
- {fileID: 1331577716990815236}
|
|
132
132
|
- {fileID: 7516979272147510967}
|
|
133
133
|
- {fileID: 1499342646007565420}
|
|
134
134
|
m_Father: {fileID: 0}
|
|
@@ -146,7 +146,7 @@ CanvasRenderer:
|
|
|
146
146
|
m_PrefabAsset: {fileID: 0}
|
|
147
147
|
m_GameObject: {fileID: 936452418214250672}
|
|
148
148
|
m_CullTransparentMesh: 1
|
|
149
|
-
--- !u!114 &
|
|
149
|
+
--- !u!114 &4574435796561651467
|
|
150
150
|
MonoBehaviour:
|
|
151
151
|
m_ObjectHideFlags: 0
|
|
152
152
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
@@ -155,6 +155,63 @@ MonoBehaviour:
|
|
|
155
155
|
m_GameObject: {fileID: 936452418214250672}
|
|
156
156
|
m_Enabled: 1
|
|
157
157
|
m_EditorHideFlags: 0
|
|
158
|
+
m_Script: {fileID: 11500000, guid: 7290c98ee8db59446a0d5e5027a82b76, type: 3}
|
|
159
|
+
m_Name:
|
|
160
|
+
m_EditorClassIdentifier:
|
|
161
|
+
--- !u!1 &8007582516861501233
|
|
162
|
+
GameObject:
|
|
163
|
+
m_ObjectHideFlags: 0
|
|
164
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
165
|
+
m_PrefabInstance: {fileID: 0}
|
|
166
|
+
m_PrefabAsset: {fileID: 0}
|
|
167
|
+
serializedVersion: 6
|
|
168
|
+
m_Component:
|
|
169
|
+
- component: {fileID: 1331577716990815236}
|
|
170
|
+
- component: {fileID: 501133231201272860}
|
|
171
|
+
- component: {fileID: 139373640498174883}
|
|
172
|
+
m_Layer: 5
|
|
173
|
+
m_Name: BG
|
|
174
|
+
m_TagString: Untagged
|
|
175
|
+
m_Icon: {fileID: 0}
|
|
176
|
+
m_NavMeshLayer: 0
|
|
177
|
+
m_StaticEditorFlags: 0
|
|
178
|
+
m_IsActive: 1
|
|
179
|
+
--- !u!224 &1331577716990815236
|
|
180
|
+
RectTransform:
|
|
181
|
+
m_ObjectHideFlags: 0
|
|
182
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
183
|
+
m_PrefabInstance: {fileID: 0}
|
|
184
|
+
m_PrefabAsset: {fileID: 0}
|
|
185
|
+
m_GameObject: {fileID: 8007582516861501233}
|
|
186
|
+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
187
|
+
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
188
|
+
m_LocalScale: {x: 3, y: 3, z: 3}
|
|
189
|
+
m_ConstrainProportionsScale: 1
|
|
190
|
+
m_Children: []
|
|
191
|
+
m_Father: {fileID: 7363684731116559227}
|
|
192
|
+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
193
|
+
m_AnchorMin: {x: 0.5, y: 0.5}
|
|
194
|
+
m_AnchorMax: {x: 0.5, y: 0.5}
|
|
195
|
+
m_AnchoredPosition: {x: 0, y: 0}
|
|
196
|
+
m_SizeDelta: {x: 1700.5007, y: 1278}
|
|
197
|
+
m_Pivot: {x: 0.5, y: 0.5}
|
|
198
|
+
--- !u!222 &501133231201272860
|
|
199
|
+
CanvasRenderer:
|
|
200
|
+
m_ObjectHideFlags: 0
|
|
201
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
202
|
+
m_PrefabInstance: {fileID: 0}
|
|
203
|
+
m_PrefabAsset: {fileID: 0}
|
|
204
|
+
m_GameObject: {fileID: 8007582516861501233}
|
|
205
|
+
m_CullTransparentMesh: 1
|
|
206
|
+
--- !u!114 &139373640498174883
|
|
207
|
+
MonoBehaviour:
|
|
208
|
+
m_ObjectHideFlags: 0
|
|
209
|
+
m_CorrespondingSourceObject: {fileID: 0}
|
|
210
|
+
m_PrefabInstance: {fileID: 0}
|
|
211
|
+
m_PrefabAsset: {fileID: 0}
|
|
212
|
+
m_GameObject: {fileID: 8007582516861501233}
|
|
213
|
+
m_Enabled: 1
|
|
214
|
+
m_EditorHideFlags: 0
|
|
158
215
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
159
216
|
m_Name:
|
|
160
217
|
m_EditorClassIdentifier:
|
|
@@ -176,18 +233,6 @@ MonoBehaviour:
|
|
|
176
233
|
m_FillOrigin: 0
|
|
177
234
|
m_UseSpriteMesh: 0
|
|
178
235
|
m_PixelsPerUnitMultiplier: 1
|
|
179
|
-
--- !u!114 &4574435796561651467
|
|
180
|
-
MonoBehaviour:
|
|
181
|
-
m_ObjectHideFlags: 0
|
|
182
|
-
m_CorrespondingSourceObject: {fileID: 0}
|
|
183
|
-
m_PrefabInstance: {fileID: 0}
|
|
184
|
-
m_PrefabAsset: {fileID: 0}
|
|
185
|
-
m_GameObject: {fileID: 936452418214250672}
|
|
186
|
-
m_Enabled: 1
|
|
187
|
-
m_EditorHideFlags: 0
|
|
188
|
-
m_Script: {fileID: 11500000, guid: 7290c98ee8db59446a0d5e5027a82b76, type: 3}
|
|
189
|
-
m_Name:
|
|
190
|
-
m_EditorClassIdentifier:
|
|
191
236
|
--- !u!1001 &3747920875680424434
|
|
192
237
|
PrefabInstance:
|
|
193
238
|
m_ObjectHideFlags: 0
|
|
@@ -97,7 +97,7 @@ namespace Hyper.Internal
|
|
|
97
97
|
|
|
98
98
|
/// <summary>
|
|
99
99
|
/// Error log (red) with HyperSDK prefix.
|
|
100
|
-
///
|
|
100
|
+
/// In HYPER_RELEASE_BUILD WebGL players the SDK disables Unity's debug logger at startup, so this produces no console output there.
|
|
101
101
|
/// </summary>
|
|
102
102
|
public static void LogError(string message, UnityEngine.Object context = null)
|
|
103
103
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "app.hypergames.hypersdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
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",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"email": "info@mvm.gg",
|
|
25
25
|
"url": "https://mvm.gg/"
|
|
26
26
|
},
|
|
27
|
-
"licensesUrl": "https://
|
|
28
|
-
"changelogUrl": "https://
|
|
29
|
-
"documentationUrl": "https://
|
|
27
|
+
"licensesUrl": "https://github.com/mvmhyper/hyper-sdk/blob/releaseTests/LICENSE.md",
|
|
28
|
+
"changelogUrl": "https://github.com/mvmhyper/hyper-sdk/blob/releaseTests/CHANGELOG.md",
|
|
29
|
+
"documentationUrl": "https://docs-getting-started-updates.hyper-sdk-documentation.pages.dev/",
|
|
30
30
|
"repository": {
|
|
31
31
|
"type": "git",
|
|
32
32
|
"url": "https://github.com/mvmhyper/hyper-sdk.git",
|