简体   繁体   English

在Windows Azure中部署Unity3D

[英]Deploy Unity3D in Windows Azure

I'm a bit stuck with the windows Azure plateforme. 我有点困在windows Azure平板电脑上。 For now, I have a ASP.NET MVC 3 Web role running on Azure. 目前,我在Azure上运行了一个ASP.NET MVC 3 Web角色。 But I want to deploy a Unity3D Web Player Application. 但我想部署一个Unity3D Web Player应用程序。 How can I perform this task. 我该如何执行此任务。 I think it's quite the same if I want to deploy a flash application on a web page. 如果我想在网页上部署Flash应用程序,我认为这是完全相同的。 Instead of a .swf file, I have a .unity3d file. 我有一个.unity3d文件,而不是.swf文件。 Did somebody performed some kind of thing ? 有人做过某种事吗?

Thanks a lot ! 非常感谢 !

Yes. 是。 You just need to have do two things: 你只需要做两件事:

  1. Install Unity Web Player components in your Azure VM: To achieve that you just need a Startup task to download and install UnityWebPlayer.exe silently without UI. 在Azure VM中安装Unity Web Player组件:要实现这一点,您只需要一个启动任务即可在没有UI的情况下静默下载和安装UnityWebPlayer.exe。 To learn more about Startup task see here 要了解有关启动任务的更多信息,请参阅此处

  2. Setup Unity3d Mime Type in IIS: 在IIS中设置Unity3d Mime类型:

    2.1 http://blogs.iis.net/bills/archive/2008/03/25/how-to-add-mime-types-with-iis7-web-config.aspx 2.1 http://blogs.iis.net/bills/archive/2008/03/25/how-to-add-mime-types-with-iis7-web-config.aspx

    2.2 http://answers.unity3d.com/questions/28968/mime-settings-for-unity3d-file-type.html 2.2 http://answers.unity3d.com/questions/28968/mime-settings-for-unity3d-file-type.html

That should be enough. 那应该够了。

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

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