https://github.com/seleb/better-minimal-webgl-template
The package is quite simple.™
https://github.com/seleb/better-minimal-webgl-template
unity unity-webgl-template webgl
Last synced: 4 months ago
JSON representation
The package is quite simple.™
- Host: GitHub
- URL: https://github.com/seleb/better-minimal-webgl-template
- Owner: seleb
- License: mit
- Created: 2020-04-22T04:32:25.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-08-29T13:17:47.000Z (10 months ago)
- Last Synced: 2025-08-29T16:32:52.841Z (10 months ago)
- Topics: unity, unity-webgl-template, webgl
- Language: HTML
- Homepage: https://seansleblanc.itch.io/better-minimal-webgl-template
- Size: 14.6 KB
- Stars: 69
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Better-Minimal-WebGL-Template
Minimal WebGL build template.
## Features
- Scales canvas to fit the window horizontally + vertically while maintaining aspect ratio (can be disabled)
- Centers canvas in window
- Customizable background
## To use
1. Download and unzip
2. Copy the `WebGLTemplates` folder into your project's `Assets` folder
3. File -> Build Settings... -> WebGL -> Player Settings... -> Select the `BetterMinimal` template
4. (Optional) Customize colour in the `Background` field; enter `false` in the `Scale to fit` field to disable scaling
Ideal for embedding on sites like itch.io which provide an external full-screen button.