How to load an html webpage inside unity3d

白昼怎懂夜的黑 提交于 2019-12-06 01:26:28
  1. You need a plugin because the best way to do what you want is "webview"

  2. If you really don't want to use a plugin, then use Applicaion.OpenUrl instead. This will open web pages, but not inside the unity window. It will open a browser application and show webpage.

  3. If you want to use a plugin, check this github https://github.com/gree/unity-webview

I recently did a deep dive into this, and apparently it's not possible without some sort of plugin. I tried some open source libraries, but they could only show a 2D webview on top of the app. So, I ended up going with this 3D webview asset, since it works inside of the scene.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!