Cheap VPS host selection
Provide server host evaluation information

What is stored in the unity resources folder

The Resources folder of Unity is used to store resources that can be loaded by code at run time, such as textures, audio, prefabs, etc. These resources can be dynamically instantiated or loaded into the scene. Normally, we place the resources that need to be loaded dynamically at runtime under the Resources folder.

Use Resources The Load function can load these resources at run time. For example, if there is a prefab named "prefab" under the Resources folder, you can use the following code to load it:

 GameObject prefab = Resources.Load( "prefab" ) as GameObject;

It should be noted that when building a project, Unity will package all resources under the Resources folder into the application, so please ensure that only necessary resources are placed in the folder to avoid increasing the size of the application.

Do not reprint without permission: Cheap VPS evaluation » What is stored in the unity resources folder