Unity3D WebPlayer去掉加载Logo
将Unity3D发布为WEB版后,直接在发布后的页面进行如下修改:
<body>
<object classid="clsid:444785F1-DE89-4295-863A-D46C3A781394" codebase="http://webplayer.unity3d.com/download_webplayer-2.x/UnityWebPlayer.cab#version=2,0,0,0" width="600" height="450">
<param name="src" value="WebPlayer.unity3d" />
<param name="backgroundcolor" value="A0A0A0" />
<param name="bordercolor" value="000000" />
<param name="textcolor" value="FFFFFF" />
<param name="logoimage" value="Logo.png" />
<embed src="xx.unity3d" type="application/vnd.unity" pluginspage="http://www.unity3d.com/unity-web-player-2.x" width="600" height="450"></embed>
</object>
</body>
其中:
1、<param name="src" value="WebPlayer.unity3d" /> 指定生成的.Unity3d路径
2、<param name="logoimage" value="Logo.png" />指定Logo路径,格式必须为PNG
3、可以通过增加width="600" height="450" 来控制页面上显示区域的大小