项目模板基于不同类型项目的共同最佳实践而提供预选的设置。这些设置针对 Unity 支持的所有平台上的 2D 和 3D 项目进行了优化。
模板可加快准备初始项目、目标游戏类型或视觉保真度的过程。通过使用模板,您可能发现一些未曾了解的设置以及可编程渲染管线、着色器图和后期处理等功能。
创建项目时,选择用于初始化项目的模板。
Unity 提供以下可用于初始化项目的模板。
配置 2D 应用程序的项目设置,包括纹理(图像)导入、Sprite Packer、Scene 视图、光照和正交摄像机。
配置使用 Unity 内置渲染管线的 3D 应用程序的项目设置。
配置使用 Unity 内置渲染器和后期处理功能的 3D 应用程序的项目设置。此项目类型包括新的后期处理栈、几个用于快速启动开发的预设以及一些示例内容。
有关后期处理的更多信息,请参阅后期处理 GitHub 代码仓库中的后期处理相关文档。
配置使用高端平台(支持 Shader Model 5.0(DX11 及更高版本))的项目的项目设置。此模板是使用可编程渲染管线 (SRP) 构建的,这是一种现代渲染管线,包括高级材质类型和可配置的混合平铺/集群延迟/前向光照架构。此模板还包括新的后期处理栈、几个用于快速启动开发的预设以及一些示例内容。
此模板为项目添加以下功能:
注意:高清渲染管线目前正在开发中,因此请考虑到该功能可能不完整且可能会随时发生变化(API、UX、范围)。因此,未包括在常规 Unity 支持中。Unity 正在寻求有关该功能的反馈。要询问有关该功能的问题,请访问 Unity 预览论坛。
Universal Render Pipeline 模板可以配置项目的项目设置,其中的主要考虑因素包括性能、平台支持范围和图形自定义难度。
此模板使用以下 Unity 功能:
此模板包含以下内容:
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.