Skip to content

Commit c66f88f

Browse files
committed
Merge branch 'master' of https://github.com/JohannesDeml/UnityWebGL-LoadingTest into 6000.0
2 parents 1fcbdc1 + c86e872 commit c66f88f

File tree

1 file changed

+41
-38
lines changed

1 file changed

+41
-38
lines changed

README.md

Lines changed: 41 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -28,64 +28,51 @@
2828
* Tracking multiple Unity versions starting from 2018.4
2929
* Build targets for webgl1, webgl2 and webgpu
3030

31-
## Live Demos
31+
## Live Demos ([All Builds](https://deml.io/experiments/unity-webgl/))
3232

3333
### Built-in Renderpipeline WebGL2
3434
Version | Size | Link
3535
--- | --- | ---
36-
6000.0.9f1 | 3.26 MB | https://deml.io/experiments/unity-webgl/6000.0.9f1-webgl2
36+
6000.0.25f1 | 3.32 MB | https://deml.io/experiments/unity-webgl/6000.0.25f1-webgl2
3737
2023.2.20f1 | 3.23 MB | https://deml.io/experiments/unity-webgl/2023.2.20f1-webgl2
3838
2023.1.20f1 | 3.14 MB | https://deml.io/experiments/unity-webgl/2023.1.20f1-webgl2
39-
2022.3.36f1 | 3.12 MB | https://deml.io/experiments/unity-webgl/2022.3.36f1-webgl2
40-
2021.3.35f1 | 2.78 MB | https://deml.io/experiments/unity-webgl/2021.3.35f1-webgl2
39+
2022.3.50f1 | 3.12 MB | https://deml.io/experiments/unity-webgl/2022.3.50f1-webgl2
40+
2021.3.45f1 | 2.78 MB | https://deml.io/experiments/unity-webgl/2021.3.45f1-webgl2
4141
2020.3.48f1 | 2.96 MB | https://deml.io/experiments/unity-webgl/2020.3.48f1-webgl2
4242

43-
### Built-in Renderpipeline WebGL1
44-
Version | Size | Link
45-
--- | --- | ---
46-
2022.3.36f1 | 3.10 MB | https://deml.io/experiments/unity-webgl/2022.3.36f1-webgl1
47-
2021.3.35f1 | 2.76 MB | https://deml.io/experiments/unity-webgl/2021.3.35f1-webgl1
48-
2020.3.48f1 | 2.94 MB | https://deml.io/experiments/unity-webgl/2020.3.48f1-webgl1
49-
5043
### Built-in Renderpipeline Minimum size
5144
Version | Size | Link
5245
--- | --- | ---
53-
6000.0.9f1 | 3.16 MB | https://deml.io/experiments/unity-webgl/6000.0.9f1-minsize-webgl2
46+
6000.0.25f1 | 2.92 MB | https://deml.io/experiments/unity-webgl/6000.0.25f1-minsize-webgl2
5447
2023.2.20f1 | 2.85 MB | https://deml.io/experiments/unity-webgl/2023.2.20f1-minsize-webgl2
5548
2023.1.20f1 | 2.72 MB | https://deml.io/experiments/unity-webgl/2023.1.20f1-minsize-webgl2
56-
2022.3.36f1 | 2.69 MB | https://deml.io/experiments/unity-webgl/2022.3.36f1-minsize-webgl1
57-
2021.3.35f1 | 2.73 MB | https://deml.io/experiments/unity-webgl/2021.3.35f1-minsize-webgl1
49+
2022.3.50f1 | 2.69 MB | https://deml.io/experiments/unity-webgl/2022.3.50f1-minsize-webgl1
50+
2021.3.45f1 | 2.74 MB | https://deml.io/experiments/unity-webgl/2021.3.45f1-minsize-webgl1
5851
2020.3.48f1 | 2.48 MB | https://deml.io/experiments/unity-webgl/2020.3.48f1-minsize-webgl1
5952

6053
### URP WebGL2
6154
Version | Size | Link
6255
--- | --- | ---
63-
6000.0.9f1 | 7.27 MB | https://deml.io/experiments/unity-webgl/6000.0.9f1-urp-webgl2
56+
6000.0.25f1 | 7.82 MB | https://deml.io/experiments/unity-webgl/6000.0.25f1-urp-webgl2
6457
2023.2.20f1 | 6.87 MB | https://deml.io/experiments/unity-webgl/2023.2.20f1-urp-webgl2
6558
2023.1.20f1 | 6.25 MB | https://deml.io/experiments/unity-webgl/2023.1.20f1-urp-webgl2
66-
2022.3.36f1 | 5.92 MB | https://deml.io/experiments/unity-webgl/2022.3.36f1-urp-webgl2
67-
2021.3.35f1 | 6.31 MB | https://deml.io/experiments/unity-webgl/2021.3.35f1-urp-webgl2
59+
2022.3.50f1 | 5.92 MB | https://deml.io/experiments/unity-webgl/2022.3.50f1-urp-webgl2
60+
2021.3.45f1 | 6.31 MB | https://deml.io/experiments/unity-webgl/2021.3.45f1-urp-webgl2
6861
2020.3.48f1 | 5.60 MB | https://deml.io/experiments/unity-webgl/2020.3.48f1-urp-webgl2
6962

70-
### URP WebGL1
71-
Version | Size | Link
72-
--- | --- | ---
73-
2022.3.36f1 | 5.89 MB | https://deml.io/experiments/unity-webgl/2022.3.36f1-urp-webgl1
74-
2021.3.35f1 | 6.13 MB | https://deml.io/experiments/unity-webgl/2021.3.35f1-urp-webgl1
75-
2020.3.48f1 | 5.44 MB | https://deml.io/experiments/unity-webgl/2020.3.48f1-urp-webgl1
76-
7763
### URP Minimum Size
7864
Version | Size | Link
7965
--- | --- | ---
80-
6000.0.9f1 | 6.51 MB | https://deml.io/experiments/unity-webgl/6000.0.9f1-urp-minsize-webgl2
66+
6000.0.25f1 | 6.05 MB | https://deml.io/experiments/unity-webgl/6000.0.25f1-urp-minsize-webgl2
8167
2023.2.20f1 | 5.30 MB | https://deml.io/experiments/unity-webgl/2023.2.20f1-urp-minsize-webgl2
8268
2023.1.20f1 | 5.71 MB | https://deml.io/experiments/unity-webgl/2023.1.20f1-urp-minsize-webgl2
83-
2022.3.36f1 | 4.64 MB | https://deml.io/experiments/unity-webgl/2022.3.36f1-urp-minsize-webgl1
84-
2021.3.35f1 | 6.11 MB | https://deml.io/experiments/unity-webgl/2021.3.35f1-urp-minsize-webgl1
69+
2022.3.50f1 | 4.65 MB | https://deml.io/experiments/unity-webgl/2022.3.50f1-urp-minsize-webgl1
70+
2021.3.45f1 | 6.11 MB | https://deml.io/experiments/unity-webgl/2021.3.45f1-urp-minsize-webgl1
8571
2020.3.48f1 | 4.86 MB | https://deml.io/experiments/unity-webgl/2020.3.48f1-urp-minsize-webgl1
8672

8773

8874

75+
8976
## Platform Compatibility
9077

9178
| Platform | Chrome | Firefox | Edge | Safari | Internet Explorer |
@@ -163,17 +150,33 @@ The script `WebGlBridge` adds an easy to access gameobject that can be called fr
163150
Currently the following commands are available:
164151

165152
```javascript
166-
unityGame.SendMessage("WebGL", "DisableCaptureAllKeyboardInput"); -> Disable unity from consuming all keyboard input
167-
unityGame.SendMessage("WebGL", "EnableCaptureAllKeyboardInput"); -> Enable unity from consuming all keyboard input
168-
unityGame.SendMessage("WebGL", "LogMemory"); -> Logs the current memory
169-
unityGame.SendMessage("WebGL", "SetApplicationRunInBackground", System.Int32 runInBackground); -> Application.runInBackground
170-
unityGame.SendMessage("WebGL", "SetApplicationTargetFrameRate", System.Int32 targetFrameRate); -> Application.targetFrameRate
171-
unityGame.SendMessage("WebGL", "SetTimeFixedDeltaTime", System.Single fixedDeltaTime); -> Time.fixedDeltaTime
172-
unityGame.SendMessage("WebGL", "SetTimeTimeScale", System.Single timeScale); -> Time.timeScale
173-
unityGame.SendMessage("WebGL", "ToggleInfoPanel"); -> Toggle develop ui visibility of InfoPanel
174-
unityGame.SendMessage("WebGL", "LogExampleMessage"); -> Log an example debug message
175-
unityGame.SendMessage("WebGL", "LogMessage", "System.String message"); -> Log a custom message
176-
unityGame.SendMessage("WebGL", "Help"); -> Log all available commands
153+
Available commands:
154+
---CommonCommands---
155+
runUnityCommand("DisableCaptureAllKeyboardInput"); -> Disable unity from consuming all keyboard input
156+
runUnityCommand("EnableCaptureAllKeyboardInput"); -> Enable unity from consuming all keyboard input
157+
runUnityCommand("LogMemory"); -> Logs the current memory
158+
runUnityCommand("UnloadUnusedAssets"); -> Resources.UnloadUnusedAssets
159+
runUnityCommand("SetApplicationRunInBackground", System.Int32 runInBackground); -> Application.runInBackground
160+
runUnityCommand("SetApplicationTargetFrameRate", System.Int32 targetFrameRate); -> Application.targetFrameRate
161+
runUnityCommand("SetTimeFixedDeltaTime", System.Single fixedDeltaTime); -> Time.fixedDeltaTime
162+
runUnityCommand("SetTimeTimeScale", System.Single timeScale); -> Time.timeScale
163+
runUnityCommand("ToggleInfoPanel"); -> Toggle develop ui visibility of InfoPanel
164+
runUnityCommand("LogUserAgent"); -> Log User Agent and isMobileDevice
165+
runUnityCommand("LogExampleMessages"); -> Log example messages for Log, warning and error
166+
runUnityCommand("LogMessage", "System.String message"); -> Log a custom message
167+
runUnityCommand("ThrowDictionaryException"); -> Throw a dictionary key not found exception
168+
runUnityCommand("LogTextureSupport"); -> Log supported and unsupported texture formats
169+
runUnityCommand("DeleteAllPlayerPrefs"); -> PlayerPrefs.DeleteAll
170+
runUnityCommand("LogShaderCompilation", System.Int32 enabled); -> GraphicsSettings.logWhenShaderIsCompiled
171+
172+
---ObjectSpawnerCommands---
173+
runUnityCommand("PauseSpawning"); -> Pause spawning of cubes
174+
runUnityCommand("ResumeSpawning"); -> Resume spawning of cubes
175+
runUnityCommand("AddSpawner"); -> Add a spawner
176+
runUnityCommand("RemoveSpawner"); -> Remove a spawner
177+
178+
---WebBridge---
179+
runUnityCommand("Help"); -> Log all available commands
177180
```
178181

179182
## Github Build Actions

0 commit comments

Comments
 (0)