Rasagar/Library/PackageCache/com.unity.probuilder/Documentation~/overview.md
2024-08-26 23:07:20 +03:00

2.5 KiB

Getting started

You can access all of ProBuilder's editing tools and actions from the ProBuilder toolbar, which dynamically adapts to your Edit mode and your current selection.

Toolbar Example

Every toolbar button has a tooltip that shows a short summary about its use. Viewing tooltips is a great way to start learning about ProBuilder's functionality.

Building and editing complex Meshes

ProBuilder Meshes act like regular GameObjects in Unity. You can apply Transform values to them and add components to them. They respond to the physics system, and you can animate them and attach scripts to them in order to control them. However, standard Unity Meshes are not the same as ProBuilder Meshes: you can't edit them with ProBuilder actions until you convert them into ProBuilder objects.

ProBuilder vs. Unity Meshes

The most common way to build a ProBuilder Mesh is to create it and edit it entirely with ProBuilder tools and actions.

Applying Materials and Vertex Colors

You can apply any Material to ProBuilder Meshes using the Material Palette, either on selected faces in Element mode or across the entire GameObject.

You can also apply Vertex Colors to your Mesh while you are still building the geometry. This can help easily identify parts of complex Meshes, such as the floor, or provide a little color while you are greyboxing.

Editing UVs

ProBuilder provides automatic UV unwrapping and a complete manual UV editor.

  • Auto UV mode lets you tweak basics like offset, tiling, and rotation, while ProBuilder handles the complex UV work automatically.

  • Manual UV mode gives you complete control of the UVs. With this workflow you can lay out your UV maps precisely.

You can use whichever you prefer, or a mix of both, even on the same Mesh.

For more information, see Materials, Shaders, Textures, and UVs

Exporting to other formats

You can also export your ProBuilder Meshes to several file formats, such as .asset, .obj, and .stl. Then you can reimport them into Unity and use them as Prefabs or spawn them. However, as soon as you convert a ProBuilder Mesh to the .asset format, it becomes a regular Unity GameObject, and you can't modify it with ProBuilder tools any more.