Customize WebBrowser
If the defaulted W_ExecuteWebBrowser
can not meet your requirements,you can customize Browser Blueprint by your own.
- Create a Widget Blueprint extends from
UnipassWebBrowserWrapper
- Drag
UnipassWebBrowser
to Widget Blueprint
- Inject global variable
unipass
to window object of WebBrowser
- Implement browser functions:
LoadURL
,ExecuteJavascript
and other browser functions refer to UnipassWebBrowser.cpp
- When your customized WebBrowser created successfully. you can use your customized WebBrowser for UnipassSDK Initialization instead of
W_ExecuteWebBrowser
.