Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions Samples~/JSExample/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# JSExample

Make sure to select the correct WebGLTemplate in the Build Settings when running this example.
## Build

If the WebGLTemplate template isn't detected, move the WebGLTemplates folder to the assets root directory
1. Create a new Unity project with the LiveKit Unity SDK for WebGL (https://github.com/livekit/client-sdk-unity-web).
2. Copy the contents of this folder into the root of the `Assets` directory.
3. Build the javascript:
`(cd Assets/JSPackage\~/ && npm run build)`
4. In ProjectSettings > Player > WebGL > Resolution and Presentation, select the WebGL Template named "LiveKitDemoJS." If the WebGLTemplate template isn't detected, move the WebGLTemplates folder to the assets root directory.
5. In Build Settings, select the WebGL platform.
6. In Build Settings, add the JSExample scene to the "Scenes in Build" list.
7. Build the project!