2024年4月3日发(作者:)
Unity Manual > Advanced > Web Player Deployment > HTML code to
load Unity content
Unity手册->高级->web播放器部署->HTML代码装入Unity内容
HTML code to load Unity content HTML代码装入Unity内容
Web Player content is loaded in the browser using the Unity Web Player's
plugin or ActiveX control. The HTML code required to load and display web player
content is different for Microsoft's Internet Explorer compared to all other
browsers. This is because Internet Explorer uses ActiveX Controls and therefore an
object tag must be used whereas all other supported browsers use plugins and
therefore an embed tag must be used instead.
Web播放内容被加载在浏览器中使用Unity的Web Player的插件或ActiveX控件。
所需的HTML代码加载和显示Web播放器的内容是不同的对于微软IE浏览器与所有其他
浏览器比较而言。这是因为Internet Explorer使用ActiveX控件和标签的对象,必须使用
而所有其他支持的浏览器支持的插件并且因此内嵌标记必须替代使用。
The HTML file generated by Unity when building a web player contains all the
commonly required functionality - it does Unity plugin detection, enables easy
web player installation, and supports all browsers that can run Unity Web Player. In
most cases you don't have to modify the HTML file at all. This document describes
the inner workings of HTML code required for Unity content.
该HTML文件通过Unity生成当创建一个web播放器包含了所有的公共需要的功能-
它做Unity的插件检测,启用简单的web播放器安装,并支持所有的浏览器,可以运行
Unity的Web播放器。在大多数情况下,你不必修改HTML文件的。本文档描述的HTML
代码为Unity的内容进行内部工作。
The minimal HTML required to load Unity Web Player content in all supported
browsers is:
所需的最小的HTML加载在所有支持Unity的Web浏览器播放的内容是:


发布评论