Unity introductory series of presets and resource packs import and export

Table of contents

1. Preset body (prefabricated body)

2. Import and export of resource packages


1. Preset body (prefabricated body)

The preset body is a preset object. Just press and hold it with the left mouse button, and then drag it into the Scene folder of Assets. Then the object will turn blue and can be dragged into and created infinitely. With the right mouse button, you can View it in the file manager, the suffix is ​​Prefab. You can create a folder Prefab specifically to store prefabs.

There are two ways to modify the prefab:

Method 1: Drag the new one directly into the preset body, and the previous one will be overwritten.

Method Two:

 How to delete a component between presets?

You cannot delete the prefab directly on the scene. You should open the prefab (Open Prefab). After opening, you can only see the contents of the prefab:

If you want to modify a new preset body without destroying the previous one, you can (Default Body -> Unzip), so that this object has nothing to do with the preset body, and you can save a new one. of the default body.

Click on the first one to create a new preset.

 

 

2. Import and export of resource packages

Exporting package->This Computer->Desktop->Choose a suitable location and give it a package name. Do not use a Chinese name.​  

 

Resource packages can be dragged directly into the import project, or right-click to select it.​ 

Guess you like

Origin blog.csdn.net/2303_76354097/article/details/132006518
Recommended