Version: Unity 6.1 Alpha (6000.1)
Language : English
Optimize Web platform for mobile
Using Web templates

Web templates

Use Web templates to control the appearance of the HTML page that hosts your Web Player.

Important: To use the templates feature in the Web platform, you need prior knowledge of JavaScript concepts and terminology.

Topic Description
Using Web templates Find and use built-in and custom Web templates.
Add a custom Web template Add a custom Web template to the Web Player settings.
Web template structure and instantiation Structure a template’s index.html file and create a new instance of your content with createUnityInstance().
Web template variables Configure internal preprocessor variables, JavaScript macros, conditional directives, and custom user variables.
Web template build configuration and interaction Learn how to configure and interact with Web templates.

Additional resources

Optimize Web platform for mobile
Using Web templates