기본 콘텐츠로 건너뛰기

Windows WebView Unity Plugin - WWebView


Asset Storehttps://www.assetstore.unity3d.com/#!/content/97395
Release Noteshttp://www.icodes.studio/2017/10/wwebview-release-notes.html

Let me introduce myself briefly.

WWebView is an easy solution for integrating WebView to your windows games. You can set up a web view and embed web content in your game with less than 10 lines of code. There is also a clean and simple interface for you to interact between the game and webview. Above all, WWebView is designed to be very easy to integrate into UniWebView2.









How to integrate with UniWebview2

http://www.icodes.studio/2017/10/how-to-integrate-with-uniwebview2.html

How to integrate with UniWebview3

http://www.icodes.studio/2017/10/how-to-integrate-with-uniwebview3.html

Notice

The native plugin was built with Visual Studio 2017.
It has been tested in Unity version 5.6.0f3, 2017.1.0f3, 2017.2.0f3 and 2017.3.0f3









Supported Platforms

  • Editor(Windows, x86, x64)
  • Windows Standalone(x86, x64)
  • Windows 10 Universal App(x86, x64, ARM)
  • Windows 10 HoloLens(MR)








Main features

  • Navigate url.
  • Navigate local file & string.
  • Render to texture.
  • Transparent
  • Custom URL scheme.
  • Change Insets dynamically.
  • Evaluating Java Script.
  • Managing cookies.
  • Zoom.
  • Set/Get UserAgent.
  • Managing scrollbar.
  • ETC, browser basic features.

댓글

이 블로그의 인기 게시물

How to integrate with UniWebView3

WWebView is a fully completed module by itself. However, if your game uses UniWebView3 for other platforms (eg. IOS, AOS), you can easily integrate UniWebView3 with the following simple steps.

This document was written based on UniWebView3 version 3.3.2 (Oct 09, 2017).

1. Install UniWebView3 If you import UniWebView3 package to your project, you can see the script files in the project panel as shown below. We will modify this script.

Of course, UniWebView3 is configured with script code that does not support Windows Unity Editor, Windows Standalone and Windows Store platform. That's why we need to modify the script files of UniWebView3.




2. Modify UniWebViewPlaceholder.cs Open the script file located in "/Assets/UniWebView/Interface/UniWebViewPlaceholder.cs" and modify directives as shown below.

#if !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX && !UNITY_IOS && !UNITY_ANDROID && !UNITY_EDITOR_WIN && !UNITY_STANDALONE_WIN && !UNIT…

WWebView - RELEASE NOTES

RELEASE NOTES - CHANGE LOG All notable changes to this project will be documented in this file.


Version 1.3.4 : Sept 20, 2018 Bug fixesWin32: Fixed a bug "Ctrl+C+V" not work.

Version 1.3.3 : Apr 8, 2018New features
A new demo "Demo2D" added.
Bug fixes
WSA: Fixed a bug "SetHeaderField" not work.
Version 1.3.2 : Dec 22, 2017Bug fixes
Following up Unity 2017.3.0Fixed flickering when the 3D demo started.
Version 1.3.1 : Dec 20, 2017New features
A new demo has been added to describe how to embed the webview in a 3D object.Win32/WSA: Added SetHeaderField method.
Version 1.3.0 : Dec 4, 2017New features
The new component "WWebView".
> Supports Unity-friendly component class for the webview.WSA: Downgrades plugin's SDK target version to 14393 from 15063.
> The minimum version is still 10240.WSA: Follow up for Unity 2017.2.0
> UnityEngine.VR.VRSettings deprecated to UnityEngine.XR.XRSettings.
> UnityEngine.WSA.Application.InvokeOnAppThread behaviour…