Convert the webgl built by unity to a version that can be directly started locally without a server
- windows √
- macOS √
- Unity 2021 √ (Currently only supports unity2021)
First build unity webgl, please make sure that the publishing settings of unity are the same as the figure, use this software to select the webgl folder built by unity, and click convert. Now you can open locally
Based on electron-forge tool, nodejs
-
install dependencies
npm install
-
run
npm start
-
build
npm run make