TurnBasedStrategyCourse/Library/PackageCache/com.unity.probuilder@5.1.0/Documentation~/customizing.md

4.4 KiB

Customizing ProBuilder

There are a number of ways to customize the way you work with ProBuilder. You can set preferences on the ProBuilder Preferences window:

In addition, you can limit the types of messages ProBuilder displays in the Console and whether to write them to a file.

Logging

You can choose what types of messages ProBuilder should log, and where the messages should appear. For example, you can set up logs to appear in your Unity console, to a log file locally, or both at the same time. You can also limit the log to only error messages, warning messages, debug messages, basic information, or any combination of these messages types.

For details, see the documentation on the Debug menu.

Interaction and display

ProBuilder can display information about the Meshes in your Scene. For example, you can see the dimensions of your Mesh with Dimensions Overlay. You can also enable Show Scene Info to see how many vertices, edges, and faces are in the Scene and which are currently selected. ProBuilder can echo the name of the action you are performing if you enable the Show Action Notifications preference.

You can use the Unity color scheme, or disable the Use Unity Colors preference to set your own colors for the ProBuilder geometry elements. When disabled, a number of other properties appear that allow you to set the colors for the Wireframe and the hover color (Preselection). You can also define distinct colors for vertices, edges, and faces in both selected and unselected states. You can also change the size of the points that appear for vertices (Vertex Size), and the lines that appear for edges or wireframe (Line Size).

In addition, you can customize several things about any of the toolbars that ProBuilder provides:

You can also choose whether to display text or icons on the ProBuilder toolbar.

Text vs Icon mode

To define whether ProBuilder displays text or icons for each tool:

  1. Right-click on any empty space in the toolbar.

    Use Text Mode or Use Icon Mode

  2. Choose either Use Text Mode or Use Icon Mode from the context menu.

Note: You can also use the Use Icon GUI option in the ProBuilder Preferences window.

Floating vs Dockable

To change whether the toolbar docks or floats in the Scene view:

  1. Right-click on any empty space in the toolbar.

Use Floating or Dockable Window

  1. Choose either Open As Floating Window or Open As Dockable Window from the Window submenu of the context menu.

Resizing the toolbar

To resize the ProBuilder toolbar, click and drag the corners and sides of the toolbar until it is at the right size and shape.

ProBuilder re-orders the icon or text contents to best fit the window size.

Text vs Icon modes