Documentation

Support

Unity Studio

Open Unity Studio

Unity Studio

Web View

Add live web content to your User Interface (UI) with a Web View element.
Read time 1 minuteLast updated 13 hours ago

Use the Web View element to display live web content inside your User Interface (UI). This element lets you include dashboards, documentation, forms, maps, videos, and other web tools directly in your app. This can help you create a more integrated user experience because it allows users to access important web resources without leaving your app. For example, you can use the Web View element to display:
  • a product analytics dashboard
  • a Google Map for directions
  • a YouTube video
  • an internal wiki page

The Web View element's components

The Web View element automatically contains the following components:

Component

Description

UI TransformUse to position and resize the Web View element in edit mode.
ImageOnly use this visual placeholder to visualize the Web View in edit mode. You don't need to change any of its properties because the changes aren't reflected in Play mode.
Web ViewRenders the web content you specify in the URL property.

Web View component's property

The following property is available for you to customize in the Web View element's Inspector window:

Property

Description

URLThe web address to display on your Canvas. When possible, it's recommended to use the website's embed URL format. Examples:
  • YouTube:
    https://www.youtube.com/embed/VIDEO_ID
  • Google Maps:
    https://www.google.com/maps/embed?pb=

Additional resources