Simple yet Sleek WebGL Template for Unity Web Games.
Inside the Unity Editor using the Package Manager:
- Click the (+) button in the Package Manager and select "Add package from Git URL" (requires Unity 2019.4 or later).
- Paste the Git URL of this package into the input box: https://github.com/ebukaracer/EzWebGL.git#upm
- Click Add to install the package.
After installation, navigate to Racer > EzWebGL > Import Template(Force) to import or update the WebGL template.
To use this template with its default settings, select EzWebGL from the listed templates:

-
Optimize for pixel art:Handy if you're targeting pixel art style.- Value:
trueorfalse
- Value:
-
Hide footer:Whether or not to hide the buttons below the container/frame.- Value:
trueorfalse
- Value:
-
Border colour:Changes the border colour of the container/frame and footer(if not hidden).- Value:
transparent, hex-colour codes e.g.#FF0000,#0000FF, etc, hardcoded colours e.g.red,blue, etc.
- Value:
-
To change the default background colour navigate to:
Player Settings > Splash Image > Background > Background Color. Any colour you set there would be applied to this template, you can observe it during the initial load of your game:
-
To change the default favicon, navigate to
EzWebGL/TemplateDataand replace the defaultfavicon.icowith your own, bearing the same name and extension. -
In case you're hosting your Unity WebGL game on itch.io, Unity usually defaults to a resolution of
960 X 600, this tends to clip off this template's contents caused by the size of the container which itch website uses to render WebGL games.Here's my hacky way of achieving a fitting dimension:
-
To remove this package completely(leaving no trace), navigate to:
Racer > EzWebGL > Remove package
- WebGL Templates on Unity docs
- Inspired by BetterMinimal
Contributions are welcome! Please open an issue or submit a pull request.

