unity2018.2.4_Unity 2018.2中的脚本运行时改进

unity2018.2.4

We’ve been hard at work improving the updated scripting runtime since our last update. Unity 2018.2 ships with dozens of bug fixes related to the scripting runtime, thanks to all of the great feedback we have received since the .NET 4.x Equivalent scripting runtime became officially supported in Unity 2018.1. We’ve also added a number of features, available only with the .NET 4.x Equivalent scripting runtime, which make switching your project even easier.

上次更新以来,我们一直在努力改进更新的脚本运行时。 自从.NET 4.x等效脚本运行库在Unity 2018.1中正式受支持以来,我们收到了很多反馈, Unity 2018.2随附了许多与脚本运行库有关的错误修复。 我们还添加了仅在.NET 4.x等效脚本运行时中可用的许多功能,这些功能使切换项目更加容易。

使用IL2CPP进行托管代码调试 (Managed code debugging with IL2CPP)

Unity 2018.2 brings managed code debugging to the IL2CPP scripting backend, with all of the same features as the Mono scripting backend. Just enable the Script Debugging option in the Build Settings for your IL2CPP builds, deploy the Unity player, and debug with great tools like Visual Studio (and all other debuggers which work with Unity).

Unity 2018.2将托管代码调试功能带到IL2CPP脚本后端,并具有与Mono脚本后端相同的所有功能。 只需为您的IL2CPP构建启用“构建设置”中的“脚本调试”选项,部署Unity播放器,并使用出色的工具(如Visual Studio(以及与Unity一起使用的所有其他调试器))进行调试。

The debugger attaches to the Unity player running on the device for IL2CPP just as it does for Mono. So remote debugging of a player running IL2CPP is available.

调试器会附加到设备上运行的IL2CPP上的Unity播放器,就像Mono一样。 因此,可以对运行IL2CPP的播放器进行远程调试。

Debugging works with all IL2CPP platforms (Xbox One support will be available in 2018.2.2f1).

调试适用于所有IL2CPP平台(Xbox One支持将在2018.2.2f1中提供)。

.NET中的现代SSL / TLS支持 (Modern SSL/TLS support in .NET)

The .NET 4.x Equivalent scripting runtime brings full TLS 1.2 support to all of the .NET class library APIs, on all Unity platforms with Mono and IL2CPP. Unity will now work properly with the operating system to access the local certificate store and make secure socket and HTTPS connections work as you would expect.

.NET 4.x等效脚本运行时在具有Mono和IL2CPP的所有Unity平台上为所有.NET类库API带来了完整的TLS 1.2支持。 现在,Unity将与操作系统一起正常使用,以访问本地证书存储,并使安全套接字和HTTPS连接按预期工作。

优化构建大小 (Optimizing build size)

The API Compatibility Levels available with the .NET 4.x Equivalent scripting runtime bring lots of great .NET APIs Unity developers have wanted for some time. They also bring more code from the .NET class libraries, which can increase the build size. We’ve focused the 2018.2 and (upcoming) 2018.3 releases of Unity on making the build size as small as possible for the .NET 4.x Equivalent scripting runtime.

.NET 4.x等效脚本运行时提供的API兼容性级别带来了许多Unity开发人员想要的出色的.NET API。 它们还从.NET类库中带来了更多代码,这可能会增加构建大小。 我们将Unity的2018.2和(即将推出)2018.3发行版集中于使.NET 4.x等效脚本运行时的构建尺寸尽可能小。

Our internal tests indicate that Unity 2018.2 ships with a build size increase of less than 2% for a number of real-world projects that switched from the old scripting runtime to the new scripting runtime. In 2018.3 we’ll be delivering more improvements, including new features to allow even more aggressive managed bytecode stripping options, so stay tuned.

我们的内部测试表明,对于许多从旧脚本运行时切换到新脚本运行时的实际项目,Unity 2018.2的构建大小增长不到2%。 在2018.3中,我们将提供更多改进,包括新功能,以允许使用更具侵略性的托管字节码剥离选项,敬请期待。

.NET的未来是光明的 (The future of .NET is bright)

These are a few of the improvements we’ve been able to make with the .NET 4.x Equivalent scripting runtime to make the lives of Unity developers just a little bit easier. The 2018.3 release of Unity will bring even more improvements, as we continue our mission to democratize game development.

这些是我们已经可以使用.NET 4.x等效脚本运行时进行的一些改进,以使Unity开发人员的工作变得更加轻松。 随着我们继续使游戏开发民主化的使命,Unity的2018.3版本将带来更多改进。

Unity 2018.3 will make the .NET 4.x Equivalent scripting runtime the default option for new Unity projects and will deprecate the .NET 3.5 Equivalent scripting runtime. Look for the .NET 3.5 Equivalent scripting runtime to be removed from Unity in the 2019 release series.

Unity 2018.3将使.NET 4.x等效脚本运行时成为新Unity项目的默认选项,并将弃用.NET 3.5等效脚本运行时。 在2019版发行系列中寻找要从Unity中删除的.NET 3.5等效脚本运行时。

If you haven’t tried your project with the new, .NET 4.x Equivalent scripting runtime, the new features in Unity 2018.2 are a great reason to switch.

如果您尚未尝试使用新的.NET 4.x等效脚本运行时来尝试项目,则Unity 2018.2中的新功能是切换的重要原因。

翻译自: https://blogs.unity3d.com/2018/07/11/scripting-runtime-improvements-in-unity-2018-2/

unity2018.2.4

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值