简体   繁体   English

完成的更改是统一的Web播放器html,未反映在Facebook画布应用URL中

[英]Changes done is unity web player html not reflected in Facebook canvas app URL

I developed a small game using unity3d and Facebook unity3d SDK . 我使用unity3d和Facebook unity3d SDK开发了一个小游戏。 I am able to do everything from login to post feed or app requests or score. 从登录到发布提要或应用程序请求或评分,我都能做所有事情。 My only problem is addition of extra html or JQuery scripts done in the Webbuild.html file do not get reflected in Facebook canvas app page. 我唯一的问题是在Webbuild.html文件中完成的额外html或JQuery脚本的添加不会反映在Facebook canvas应用程序页面中。 Facebook only displays my game and all the html or Javascript is simply trimmed off. Facebook只显示我的游戏,所有的html或Javascript都被简单地修剪掉了。

I need to fill the blank white space around my Facebook canvas game with my self designed HTML code snippets. 我需要用自己设计的HTML代码段填充Facebook画布游戏周围的空白区域。 Any suggestions or help is most welcome. 任何建议或帮助都是最欢迎的。

We will be introducing convenient methods to add padding and centering for the unity web player from within Unity (as well as customizable splash screen when loading through the Facebook Settings). 我们将介绍方便的方法,以便从Unity内部为统一网络播放器添加填充和居中(以及通过Facebook设置加载时可自定义的初始屏幕)。

Further customizations can be done through Unity's ExternalEval call. 可以通过Unity的ExternalEval调用进行进一步的自定义。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM