Dev Asset Collection

All Things That You Need to Build A Video Game
Menu
  • 2D
    • Characters
    • Environments
    • Fonts
    • GUI
    • Textures & Materials
  • 3D
    • Animations
    • Characters
    • Environments
    • GUI
    • Props
    • Vegetation
    • Vehicles
  • Add-Ons
    • Machine Learning
    • Services
  • Audio
    • Ambient
    • Music
    • Sound FX
  • Essentials
    • Tutorial Projects
  • Templates
    • Packs
    • Systems
    • Tutorials
  • Tools
    • AI
    • Animation
    • Audio
    • Camera
    • Game Toolkits
    • GUI
    • Input Management
    • Integration
    • Level Design
    • Localization
    • Modeling
    • Network
    • Painting
    • Particles & Effects
    • Physics
    • Sprite Management
    • Terrain
    • Utilities
    • Version Control
    • Video
    • Visual Scripting
  • VFX
    • Particles
    • Shaders
Home
Tools
GUI
2D WebView for WebGL (Web Browser IFrame) – Free Download

2D WebView for WebGL (Web Browser IFrame) – Free Download

Tsunami 28 July, 2022
Sending
User Rating 0 (0 votes)

This is a paid asset, but now you can download 2D WebView for WebGL (Web Browser IFrame) for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.

For more details this asset from the Unity Asset Store: Click Here

2D WebView for WebGL (Web Browser IFrame) v4.1

Faster Download Download Now

“If possible, please buy the package to support the developer”

Easily display and interact with web content in 2D using the web browser plugin trusted by many developers. Try the demo here and see the developer site for full documentation.

Due to browser limitations, this package has significant limitations compared to the other 3D WebView packages. Please see this page for the full list of limitations.

?  Load a webpage from a URL or HTML string

?  Watch videos and YouTube embeds

<>  Create UIs with HTML

⚡️  Get started fast with the 2D CanvasWebViewPrefab

• C# source code for a unified API that works seamlessly across Android, iOS, Windows, macOS, WebGL, and UWP / Hololens

• Powered by the HTML <iframe> element

• Comprehensive API for controlling the browser and listening to browser events (see this page for limitations)

• Execute JavaScript

• Send messages from JavaScript to C# and vice versa

• View PDFs

• Also includes extra platform-specific APIs

• Supports transparent pages

Examples

• 3D WebView’s included CanvasWebViewDemo scene

• WebGL WebView Demo

System requirements

• Unity 2018.4 or above

• WebGL Build Support

Important notes and limitations

• This package only supports WebGL. To support other platforms, you can install additional 3D WebView packages (Windows and macOS, Android, iOS, UWP, or create a custom bundle). All of the 3D WebView packages work seamlessly together, so all you need to do is install them into the same project, and then 3D WebView automatically detects and uses the correct plugin at runtime and build time.

• 3D WebView’s native WebGL plugins are provided as precompiled libraries, and the native source code for them is not provided.

• 3D WebView’s WebGL plugins can’t run in the editor, so a mock webview implementation is used by default while running in the editor. However, you can actually load and render real web content in the editor by also installing 3D WebView for Windows and macOS into the project.

• This package only supports Native 2D Mode, so the 2D CanvasWebViewPrefab works, but the 3D WebViewPrefab does not. You can read more about this limitation here.

• This package is unable to load websites that block iframes by sending an X-Frame-Options header. For example, many popular sites like Google and Facebook block iframes using X-Frame-Options. You can read more about this limitation and test if a URL is compatible here.

• When the webview’s URL has a different domain than the Unity app, most of the IWebView methods become disabled. You can read more about this limitation here. HTML loaded with LoadHtml() also faces this limitation, but an alternative that supports the IWebView methods is to load the HTML from StreamingAssets instead.

• The following IWebView methods are not supported and are ignored at runtime:
◦ CaptureScreenshot()
◦ Copy(), Cut(), and Paste()
◦ GetRawTextureData()
◦ PageLoadFailed
◦ Additional APIs unsupported in Native 2D Mode

• The following IWebView methods have limitations:
◦ LoadUrl(url, additionalHeaders) is unable to send additional headers due to browser limitations, so it loads the URL without additional headers.
◦ CanGoBack() and CanGoForward() both return whether the webview can either go back or forward. In other words, both methods return true if the webview can go either back or foward, and both return false if the webview can’t go back or forward.
◦ LoadProgressChanged only indicates the ProgressChangeType.Started and Finished events and is unable to indicate the Failed or Updated events.

 

Get paid unity asset for free
Prev Article
Next Article

Related Articles

Cardboard VR TouchLess Menu Trigger – Free Download
Tsunami 18 October, 2020

Cardboard VR TouchLess Menu Trigger – Free Download

Fortune Spin Wheel – Pro – Free Download
Tsunami 30 January, 2025

Fortune Spin Wheel – Pro – Free Download

Ultimate Status Bar – Free Download
Tsunami 23 January, 2021

Ultimate Status Bar – Free Download

Smooth Scene Transition – Free Download
Tsunami 3 November, 2020

Smooth Scene Transition – Free Download

4 Comments

  1. danyal

    plz update its had lots of changes

    2 October, 2022
  2. Meiosei

    Plz Update new version admin

    cheers
    😀

    1 January, 2023
  3. azst

    pls update admin new version

    4 January, 2023
  4. monset

    update please admin !

    11 January, 2023

Leave a Reply Cancel Reply

Recent Posts

  • Fantasy Menus – Synty INTERFACE – GUI – Free Download
  • Seat Sorting | Game Template – Free Download
  • FreeCell Solitaire – Free Download
  • Interior of International Space Station – Free Download
  • Cyberpunk Night Club Environment – Free Download

Dev Asset Collection

All Things That You Need to Build A Video Game
Copyright © 2025 Dev Asset Collection
Privacy Policy | Disclaimer | DMCA