gree / unity-webview

zlib License
2.28k stars 691 forks source link

Can I place elements on top of webView #1103

Open savic1111 opened 3 weeks ago

savic1111 commented 3 weeks ago

I use Android and I wanna place LoadingScreen and different buttons on top of webView. Is it possibly to do that? I explore webViewObject.cs and I can’t find piece of code that helped me)

KojiNakamaru commented 3 weeks ago

As written in README,

Note: This plugin overlays native WebView/WKWebView views over Unity's rendering view and does not support these views in 3D. For alternative solutions, refer to https://github.com/gree/unity-webview/issues/612#issuecomment-724541385.

you cannot place uGUI buttons, etc. over unity's rendering view. There is an experimental version (https://github.com/gree/unity-webview/pull/584), but its usage is a bit complicated.