The Resources folder Resources文件夹
本文档主要是对Unity官方手册的个人理解与总结(其实以翻译记录为主:>)
仅作为个人学习使用,不得作为商业用途,欢迎转载,并请注明出处。
文章中涉及到的操作都是基于Unity2018.3版本
参考链接:https://unity3d.com/cn/learn/tutorials/topics/best-practices/resources-folder?playlist=30089
This chapter discusses the Resources system. This is the system that allows developers to store Assets within one or more folders named Resources and to load or unload Objects from those Assets at runtime using the Resources API.
本章讨论了资源系统。该系统允许开发人员将资产存储在一个或多个名为Resources的文件夹中,并在运行时使用Resources API从这些资产中加载或卸载对象。
2.1. Best Practices for the Resources System
Don’t use it. 不要使用它
This strong recommendation is made for several reasons: