Unity3D开发Windows Store应用程序 注意事项
原地址: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应用程序 注意事项的更多相关文章
- PowerShell将Windows store应用程序安装为开发者模式
原文: PowerShell将Windows store应用程序安装为开发者模式 在本地部署Windows 商店应用程序时,我们会遇到Add-AppDevPackage.ps1脚本,这个脚本和所在安装 ...
- 开发Windows Phone应用程序之后的感觉
刚刚历时一个多月完成了酒美网(我之前的公司)Windows Phone版客户端,发现自己的自学能力还可以,但是还是有好多东西摸不清,到今天我才刚刚对MVVM入门,更对MVVMLight这个框架有进一步 ...
- C#开发Windows窗体应用程序的步骤
使用C#开发应用程序时,一般包括创建项目.界面设计.设置属性.编写程序代码.保存项目.程序运行等6个步骤. 1.创建项目 在Visual Studio2017开发环境中选择“文件”→“新建”→“项目” ...
- Unity干中学——如何实现类似Windows Store 应用程序和Android Toast的通知?
要实现通知中心功能,首先要创建一个游戏物体,在上面挂载GUITeture和GUIText脚本.注意GUITexture和GUIText脚本的顺序,GUITexture在前,GUIText在后,否则GU ...
- C#开发windows服务如何调试——资料整理
原文标题:C# Windows服务程序如何进行调试 原文地址:https://jingyan.baidu.com/article/456c463b18e1b00a583144b3.html 第一种: ...
- 在桌面程序上和Metro/Modern/Windows store app的交互(相互打开,配置读取)
这个标题真是取得我都觉得蛋疼..微软改名狂魔搞得我都不知道要叫哪个好.. 这边记录一下自己的桌面程序跟windows store app交互的过程. 由于某些原因,微软的商店应用的安全沙箱导致很多事情 ...
- Windows Store App JavaScript 开发:页面加载
在开发基于JavaScript的Windows应用商店应用时,可以使用HtmlControl和PageControl控件加载一个页面,这两个WinJS库控件曾在上面的内容中提到过,HtmlCont ...
- Windows Store App JavaScript 开发:WinJS库控件
在介绍了如何使用标准的HTML控件以及WinJS库中提供的新控件之后,下面来着重介绍WinJS库中几种常用的控件. (1)ListView控件 在开发Windows应用商店应用时可以使用ListVie ...
- 用Nim语言开发windows GUI图形界面程序
前言 本文得到了“樂師”的大力支持, 我们一起调试程序到深夜,要是没有他的帮忙, 我不知道要多久才能迈过这道坎, 另外“归心”还有其他人也提供了帮助, 他们都来自于QQ群:“Nim开发集中营”4693 ...
随机推荐
- Web Service 和WCF的比较
Web Service 的工作原理 Web Service也叫XML Web Service WebService是一种可以接收从Internet或者Intranet上的其它系统中传递过来的请求,轻量 ...
- C# 标准查询表达式
一.标准查询运算符 1.C#提供了标准查询运算符,例如我想选择专利一系列(pantents)中以年份19开头的专利,可以用如下语句: IEnumerable<Patent> pantent ...
- Keil的使用方法 - 常用功能(二)
Ⅰ.概述 上一篇文章是总结关于Keil使用方法-常用功能(一),关于(文件和编译)工具栏每一个按钮的功能描述和快捷键的使用. 我将每一篇Keil使用方法的文章都汇总在一起,回顾前面的总结请点击下面的链 ...
- Oracle private dblink和pubic dblink
DB : 11.2.0.3.0 Oracle DBLINK 创建分为private 和 public dblink,默认创建的为private ; private dblink 只有创建的schema ...
- OpenStack:安装Glance
>安装Glance1. 安装# apt-get install glance python-glanceclient删除sqlite文件rm -f /var/lib/glance/glance. ...
- 详解iOS多线程 (转载)
iPhone 中的线程应用并不是无节制的,官方给出的资料显示iPhone OS下的主线程的堆栈大小是1M,第二个线程开始都是512KB.并且该值不能通过编译器开关或线程API函数来更改. 只有主线程有 ...
- FTP上传文件夹
文件上传类 using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; usi ...
- Sublime Text 3安装Latex
Sublime Text 3安装Latex 安装环境 Sublime Text 3已安装Package Control 安装过程 进入官网下载安装MikTex,www.miktex.org 进入官网下 ...
- document.addEventListener理解
document.addEventListener("事件名称", 函数, false); function 某函数(event){ // 方法执行 } addEventListe ...
- 项目结队开发---NABC分析(成员)
一.简介 项目名称:校园导航 特点:手机app,简便易用,适合对铁大地形不了解.路痴者使用. 二.NABC分析 N(need):对于新生报到,学生家长参观校园等想要了解校园路线者,本app软件将带给你 ...