如何在unity3d内加载HTML网页 [英] How to load an html webpage inside unity3d

查看:264
本文介绍了如何在unity3d内加载HTML网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在unity3d中显示一个网页而不使其成为图像,并通过WWW类加载它.

I want to show a webpage inside unity3d without making it an image and load it via a WWW class.

我已经看到有插件,但是我想在没有插件的情况下加载网页.

I have seen that there are plugins, but I would like to load the web page without one.

推荐答案

  1. 您需要一个插件,因为执行所需操作的最佳方法是"webview"

  1. You need a plugin because the best way to do what you want is "webview"

如果您真的不想使用插件,请改用Applicaion.OpenUrl.这将打开网页,但不会在统一窗口内打开.它将打开浏览器应用程序并显示网页.

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.

如果要使用插件,请检查此github https://github.com/gree/unity-webview

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

这篇关于如何在unity3d内加载HTML网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆