Unity提交AppStore因ASIdentifierManager被拒指南

App Store的应用有4个年龄分级,分别为4+、9+、12+和17+,年龄分级是指该应用(软件、游戏或者媒体内容等)允许面向的用户群的年龄,其中4+为4岁以上,9+为9岁以上,以此类推.
对于4+这个级别,Apple要求比较苛刻,下面这几条只有任何一点满足提交审核都会被拒,

• Does your app include third-party analytics? If so, please provide details about what data is collected for this purpose.
• Does your app include third-party advertising? If so, please provide a link to the ad network’s publicly-documented practices and policies for kids apps.
• Will the data be shared with any third parties? If so, for what purposes and where will this information be stored?
• Is your app collecting any user or device data for purposes beyond third-party analytics or third-party advertising? If so, please provide a complete and clear explanation of all planned uses of this data.

继续阅读

从Unity4.x到Unity2021.x及UnityScript到C#的转换

打开尘封的项目代码,满满的回忆.把它们升级到最新的Unity2021.x吧.因为现在Unity不支持UnityScript即js了.所以要升级旧版本Unity项目,尤其使用JS开发的项目,要转换程序语言,还是要费点周折.

首先码齐一些列版本,每个大版本号均安装一份,因为旧版本在macOS上无法正常运行,所以只能使用在Windows的版本,安装好Unity4.x/Unity5.x/Unity2017.x/Unity2018.x/Unity2020.x/Unity2021.x等.每个大版本安装最新的小版本就可以.但是Unity2018.x要安装2018.1.x(含)之前的版本,因为之后就不再支持UnityScript了.

继续阅读

macOS下的Unity使用VS Code没有语法提示的解决

Unity更新频率挺高的,拾起许久没使用的Unity,界面似乎很陌生,最高版本都到2021.1.7f1了,也强制使用UnityHub了.更新了VS Code,没有语法提示,搜索解决方案,竟然搜到自己曾写的教程,

MACOS下UNITY与VS CODE安装配置:http://1vr.cn/?p=2006

嘿嘿,今天这篇就作为前文的补充吧.安装用于Unity的VS Code步骤比较简单,首先是安装VS Code,全称Visual Studio Code,从微软官网下载安装即可,其免费且开源.

继续阅读

UnityScript踏入夕阳的漫漫长路

It’s been with us since Unity 1.0, but its time is finally coming: we have begun the deprecation process for UnityScript, the JavaScript-like scripting language available as an alternative to C# in Unity today.

自从Unity 1.0以来,我们就一直在使用它,但是它的时机终于到了:我们已经开始弃用UnityScript,这是一种类似于JavaScript的脚本语言,如今已成为Unity中C#的替代语言。 

In this blog post, we’ll go into the details behind the decision, but to briefly summarise: continued support for UnityScript is obstructing our ability to deliver new scripting-related features, and only about 3.6% of projects are using it heavily.

在此博客文章中,我们将详细讨论该决策背后的细节,但简要地总结一下:对UnityScript的持续支持阻碍了我们交付与脚本相关的新功能的能力,只有大约3.6%的项目正在大量使用它。 

继续阅读