Before you start developing apps on Unity WebGLA JavaScript API that renders 2D and 3D graphics in a web browser. The Unity WebGL build option allows Unity to publish content as JavaScript programs which use HTML5 technologies and the WebGL rendering API to run Unity content in a web browser. More info
See in Glossary, you might want to consider reading this section.
This section covers the following WebGL topics:
Page | Description |
---|---|
WebGL Player settings | Refer to the UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info See in Glossary description of WebGL Player settingsSettings that let you set various player-specific options for the final game built by Unity. More info See in Glossary. |
Interaction with browser scripting | The different methods used for browser scripting in WebGL. |
WebGL Native plug-ins for Emscripten | WebGL native plug-insA set of code created outside of Unity that creates functionality in Unity. There are two kinds of plug-ins you can use in Unity: Managed plug-ins (managed .NET assemblies created with tools like Visual Studio) and Native plug-ins (platform-specific native code libraries). More info See in Glossary for Emscripten. |
Memory in WebGL | How to manage memory in WebGL. |
Caching in WebGL | Customize the WebGL cache behavior. |
WebGL graphics | How to use the WebGL Graphics API. |
Audio in WebGL | Information about audio capabilities in WebGL. |
Texture compression in WebGL | Information about using texture compressionA method of storing data that reduces the amount of storage space it requires. See Texture Compression, Animation Compression, Audio Compression, Build Compression. See in Glossary in WebGL. |
Embedded resources on WebGL | Information about embedded resources in WebGL. |
Input in WebGL | The various input types that Unity WebGL supports. |
Configure a WebGL Canvas size | Configure the visible size of the WebGL canvas element. |
WebGL browser access | Manage browser authorization to access a device feature (webcam). |
WebGL networking | How to use networkingThe Unity system that enables multiplayer gaming across a computer network. More info See in Glossary in WebGL. |
WebGL performance considerations | WebGL performance considerations. |
Debug and troubleshoot WebGL builds | Debug and troubleshoot WebGL builds. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.