Usage
WebView displays web content within your Unity mobile application
Table of Contents
Understanding Core Concepts
Import Namespaces
Event Registration
Event
Trigger
Creating a WebView Instance
Why WebView Instances are Needed
Setting Frame Size
Full Screen
Normalized Coordinates (0.0 to 1.0)
Screen Pixel Coordinates
Appearance Styles
Default Style
Popup Style
Browser Style
Button
Action
Loading Content
Loading Web URLs
Loading HTML Strings
Loading Local HTML Files
Loading Binary Data
Showing and Hiding WebView
Manual Show/Hide
Auto-Show on Load
Handling Show/Hide Events
JavaScript Execution
Enabling JavaScript
Running JavaScript Code
JavaScript with Parameters
Web-to-Unity Communication
Understanding URL Schemes
Registering URL Schemes
Parsing URL Parameters
Controlling Web View
Reload Current Page
Stop Loading
Clear Cache
Monitoring Load Progress
Track Loading State
Data Properties
Property
Type
Notes
Core APIs Reference
API
Purpose
Returns
Error Handling
Advanced: Manual Initialization
Understanding Manual Initialization
Implementation
Related Guides
Last updated