原地址:http://blog.csdn.net/jbjwpzyl3611421/article/details/12704491

针对最近在移植window store项目中遇到的问题,我整理了官方说明,

在此和各位开发者分享,避免在移植过程中走弯路!

 

 

Platform status

平台现状

 

Currently if you want to build a Windows Store apps player, you have to do it on Windows 8, this may change in the future.

目前如果你想发布一个windows store应用程序,你需要在windows8上开发,未来这点可能改变。

On Windows Store platform we don't use Mono, we use Microsoft's .NET together with WinRT, because of this major change comparing to other Unity platforms

在windows store平台上,我们不能使用Mono,所以我们使用.NET和WinRT,因为这个巨大改变,一些API还不能正常工作。

some of the API may not yet work, but ~95% of API does work. Please note this can change in the future.

但大约95%的API执行是没有问题的。

Also because we use Microsoft .NET, this will also allow you to debug your scripts with Visual Studio (currently this only works if you write your code with C#),

也正是因为我们使用.NET,这要求开发者使用VS去调试代码,但要求你必须使用c#开发。

Currently Unity supports two Windows Store apps targets x86 and ARM (x64 will be supported in the future)

目前unity发布的应用程序只支持X86和ARM。

The player log is located under <user>\AppData\Local\Packages\<productname>\TempState.

程序的log文件位置在这里<user>\AppData\Local\Packages\<productname>\TempState.

Things that are not yet supported:

目前尚未支持的内容

  • Network classes, WWW does work though
  • Animation on script variables
  • AnimationEvent callback functions with arguments (you have to provide a function with no arguments or with AnimationEvent argument)
  • GameObject.SendMessage (partially works, but function which accepts the message must match the message sent, because the argument conversion doesn't work)
  • You can't access C# classes from JS or Boo scripts, you should be able to access JS, Boo classes from C#
  • JS and Boo scripts won't pass WACK at the moment
  • Fog on device with feature level < 9.3 doesn't work, you have to implement it yourself, for ex., http://files.unity3d.com/tomas/Metro/Examples/MyCustomFog.shader
  • WWW类还无法工作
  • 动画脚本变量
  • AnimationEvent回调函数参数(你必须提供一个不带任何参数或与AnimationEvent参数功能)
  • GameObject.SendMessage(只有部分起作用,但方法接受该消息必须相匹配的消息发送,因为参数转换不起作用)
  • 不能通过js或boo脚本访问c#类,但可以通过c#访问js和boo
  • JS和Boo脚本将无法通过Windows App Certification Kit 测试,这也意味着你无法提交应用到应用商店,只能自己和朋友分享玩。
  • 雾功能在D3D功能级别<9.3设备无法正常工作,如果你必须实现它自己,这里:http://files.unity3d.com/tomas/Metro/Examples/MyCustomFog.shader

Unity3D开发Windows Store应用程序 注意事项的更多相关文章

  1. PowerShell将Windows store应用程序安装为开发者模式

    原文: PowerShell将Windows store应用程序安装为开发者模式 在本地部署Windows 商店应用程序时,我们会遇到Add-AppDevPackage.ps1脚本,这个脚本和所在安装 ...

  2. 开发Windows Phone应用程序之后的感觉

    刚刚历时一个多月完成了酒美网(我之前的公司)Windows Phone版客户端,发现自己的自学能力还可以,但是还是有好多东西摸不清,到今天我才刚刚对MVVM入门,更对MVVMLight这个框架有进一步 ...

  3. C#开发Windows窗体应用程序的步骤

    使用C#开发应用程序时,一般包括创建项目.界面设计.设置属性.编写程序代码.保存项目.程序运行等6个步骤. 1.创建项目 在Visual Studio2017开发环境中选择“文件”→“新建”→“项目” ...

  4. Unity干中学——如何实现类似Windows Store 应用程序和Android Toast的通知?

    要实现通知中心功能,首先要创建一个游戏物体,在上面挂载GUITeture和GUIText脚本.注意GUITexture和GUIText脚本的顺序,GUITexture在前,GUIText在后,否则GU ...

  5. C#开发windows服务如何调试——资料整理

    原文标题:C# Windows服务程序如何进行调试 原文地址:https://jingyan.baidu.com/article/456c463b18e1b00a583144b3.html 第一种: ...

  6. 在桌面程序上和Metro/Modern/Windows store app的交互(相互打开,配置读取)

    这个标题真是取得我都觉得蛋疼..微软改名狂魔搞得我都不知道要叫哪个好.. 这边记录一下自己的桌面程序跟windows store app交互的过程. 由于某些原因,微软的商店应用的安全沙箱导致很多事情 ...

  7. Windows Store App JavaScript 开发:页面加载

      在开发基于JavaScript的Windows应用商店应用时,可以使用HtmlControl和PageControl控件加载一个页面,这两个WinJS库控件曾在上面的内容中提到过,HtmlCont ...

  8. Windows Store App JavaScript 开发:WinJS库控件

    在介绍了如何使用标准的HTML控件以及WinJS库中提供的新控件之后,下面来着重介绍WinJS库中几种常用的控件. (1)ListView控件 在开发Windows应用商店应用时可以使用ListVie ...

  9. 用Nim语言开发windows GUI图形界面程序

    前言 本文得到了“樂師”的大力支持, 我们一起调试程序到深夜,要是没有他的帮忙, 我不知道要多久才能迈过这道坎, 另外“归心”还有其他人也提供了帮助, 他们都来自于QQ群:“Nim开发集中营”4693 ...

随机推荐

  1. [terry笔记]ora-00904 invalid identifier—同义词

    今天遇到一个问题,说起来也简单,但是困扰我半天. 升级数据库后,一个功能无法运行,在后台观察到其sql,发现sql中包含一个包执行不了,报错ora-00904 invalid identifier w ...

  2. 如何解决android studio 运行时中文乱码的问题

    相信很多朋友都会遇到android studio 在MAC OS中运行的时候中文乱码.而在代码编辑的时候正常.经过几天的不断寻找解决办法,终于解决了 比如: Toast.makeText(MainAc ...

  3. C开发 中原子性操作 , 除了快什么都不剩下了

    题外话 今天,听歌曲听到一首缅怀迈克尔·杰克逊的歌曲 如下: http://music.163.com/#/song?id=1696048  Breaking News 每次听迈克尔 音乐,特别有战斗 ...

  4. Run ionic web app in nodejs

    首先需要express插件:sudo npm install express 将ionic project的www拷贝至wwwroot,新建server.js: var express = requi ...

  5. [转]SOLID开发原则-面向对象

    S.O.L.I.D是面向对象设计和编程(OOD&OOP)中几个重要编码原则(Programming Priciple)的首字母缩写. SRP The Single Responsibility ...

  6. [转]UDP/TCP穿越NAT的P2P通信方法研究(UDP/TCP打洞 Hole Punching)

     [转]UDP/TCP穿越NAT的P2P通信方法研究(UDP/TCP打洞 Hole Punching) http://www.360doc.com/content/12/0428/17/6187784 ...

  7. 如何安装altium designer 10

    http://jingyan.baidu.com/article/4dc4084881e2bdc8d946f1f3.html

  8. LC_ALL=C

    设置LC_ALL=C,可以让sort按照字节排序;

  9. Notes of the scrum meeting(12.8)

    meeting time:18:00~18:30p.m.,December 8th,2013 meeting place:20号公寓前 attendees: 顾育豪                   ...

  10. PSPO表格

    一.项目计划总结: 周活动总结表 日期         任务 听课 编写程序 阅读课本 准备考试 日总计 周日 周一 周二 300 100 30 430 周三 100 50 30 180 周四 200 ...