zoukankan      html  css  js  c++  java
  • 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>AppDataLocalPackages<productname>TempState.

    程序的log文件位置在这里<user>AppDataLocalPackages<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
  • 相关阅读:
    angular中scope的watch用法
    angular中对于no-repeat的优化——track by
    angular筛选器
    为什么我只贴代码不给你们源码?
    新添子节点却无法被之前的删除功能所删除,处理方法,给删除功能延迟,有好办法记得告诉我下哈,感激不进
    IDEA下Maven项目搭建踩坑记----3.最长的bug,最简单的错误。同一类中,部分函数的@AutoWired注入的对象失效
    IDEA下Maven项目搭建踩坑记----2.项目编译之后 在service层运行时找不到 com.dao.CarDao
    IDEA下Maven项目搭建踩坑记----1.pom,xml文件下${spring-version}不能用
    Myeclipse maven 配置有问题 改之后重启还是不好用
    前端 的一些css的写法
  • 原文地址:https://www.cnblogs.com/123ing/p/3807375.html
Copyright © 2011-2022 走看看