Create a WebGL build to run your application in a browser.
Select the Unity WebGL component when installing Unity Editor. To add a module to an already installed Unity Editor, run the installer for your version and select the missing components.
To create a WebGL build:
- Open your Unity project.
- Go to
File > Build settings.
- In the
Platformpanel, select WebGL.
- Select build type (optional).
Build and Run.
For the payment interface to work correctly, open it in an iframe. To do this, call the