Create a custom Web template to control the appearance of the HTML page that displays your content.
Custom templates appear in Web Player settings under Web Template with the folder name and thumbnail image you provide.
The easiest way to create a custom Web template is to copy a built-in template folder then modify it to meet your needs. Each template folder contains an index.html
file along with any other resources the page needs, such as images or stylesheets.
To create a custom template:
<Unity Installation>/PlaybackEngines/WebGLSupport/BuildTools/WebGLTemplates/
. Assets
folder, create a subfolder called WebGLTemplates
.Assets/WebGLTemplates
folder.To give the template a thumbnail image for reference:
128x128-pixel
image to the template folder.thumbnail.png
.