![](https://img-blog.csdnimg.cn/img_convert/b855b53784b4d47b04945b839b9bc0f2.png)
unity 生命周期
By now, you’ve noticed a plan for Unity involving packages, which has been steadily moving forward. The story kicked off with the ProBuilder announcement, and we’ve since followed up by introducing features of the Package Manager and improved Unity Project Management. Now, let’s dive a little deeper into the story.
到目前为止,您已经注意到Unity涉及软件包的计划,该计划一直在稳步向前发展。 这个故事从ProBuilder的宣布开始了 ,从那之后我们引入了包管理器的功能和改进的Unity项目管理 。 现在,让我们更深入地探讨这个故事。
包装,它们是什么? (Packages, what are they?)
Packages will be everything. In the future, we expect to carve apart Unity into many pieces, each of which you will be able to update, experiment with and modify. All our new features are already planned to be delivered in this way: Scriptable Render Pipelines, Entity Component System (ECS), CineMachine, and so on.
包将一切。 将来,我们希望将Unity分成许多部分,您将可以分别对它们进行更新,试验和修改。 我们所有的新功能都已经计划以这种方式交付: 可编写脚本的渲染管道 ,实体组件系统( ECS ),CineMachine等。
Additionally, much of what lives in GitHub repos (NavMesh, Recorder, …), extensions ( GUI system, Networking, Timeline, etc.), and various Unity developed Asset Store packages will now be migrated into packages.
此外,GitHub存储库中的许多内容(NavMesh,Recorder等),扩展(GUI系统,网络,时间轴等)以及Unity开发的各种Asset Store软件包现在都将迁移到软件包中。
We are dogfooding our own tech, and once the system feels solid and robust, we will open the door for Asset Store publishers as well as general users to get in on the packages story in the future.
我们正在苦苦试验自己的技术,一旦系统稳定可靠,我们将为Asset Store发行商和一般用户打开大门,以便将来了解包装方面的故事。
The main benefits of moving to packages revolve around speed, modularity and customer choice, and we aim to achieve this by making them:
迁移到软件包的主要好处在于 速度 , 模块性 和 客户选择 ,我们旨在通过实现以下目标来实现:
Referenceable or Embeddable
可引用或可嵌入
Referenced, without needing to explicitly move/add files
已引用,无需显式移动/添加文件
Embeddable, take a snapshot copy to have direct access to modify
可嵌入,可制作快照副本以直接访问进行修改
Referenceable or Embeddable
可引用或可嵌入
Extendable
可扩展
Access to source repos (where feasible)
访问源存储库(在可行的情况下)
Ability to upstream and downstream changes
上下游变化的能力
Extendable
可扩展
Easy to update
易于更新
User interface makes it easy to see choices on versions and compatibility
用户界面可轻松查看版本和兼容性的选择
Easy to update
易于更新
Automatic and explicit dependencies
自动和显式依赖
Clear dependency visibility a