在Unity 2018中忽略'Packages'文件夹是否安全? [英] Is it safe to ignore the 'Packages' folder in Unity 2018?

查看:348
本文介绍了在Unity 2018中忽略'Packages'文件夹是否安全?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将 Unity 2017.3.1f1 更新为 2018.2.1f1 ,当我打开项目时,它移动了清单.json 文件从 UnityPackageManager 文件夹移至 Packages 文件夹.此外,它还在 Packages 文件夹中创建了一堆文件和文件夹.

I just updated my Unity from 2017.3.1f1 to 2018.2.1f1 and when I opened my project it moved the manifest.json file from UnityPackageManager folder to Packages folder. Also, it created a bunch of files and folders in the Packages folder.

我的问题是:

可以安全地忽略存储库中的 Packages 文件夹,特别是 manifest.json 吗?

Is it safe to ignore Packages folder from the repository, specially manifest.json?

谢谢.

推荐答案

manifest.json 包含依赖项列表(用于项目的软件包).因此,如果您将存储库克隆到另一台计算机上,则unity使用此列表下载所需的软件包.

manifest.json contains list of your dependencies(the packages you have used for your project). so if You clone your repository on a different machine, unity uses this list to download the required packages.

简短答案:manifest.json很重要.

short answer: manifest.json is important.

这篇关于在Unity 2018中忽略'Packages'文件夹是否安全?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆