Entire components
Last updated
Last updated
In addition to revealing , sometimes it's more handy to reveal entire components at once. This can be very useful to speed up the process of adding several properties.
In addition, it can be a way to get the UI of a property that was drawn in a very specific way in the original component it belongs to, where adding the single property wouldn't give the same result.
To reveal a component, you can do it in two ways:
Click on the Show available properties and methods button on the BlackBox, and expand the foldouts until you arrive to the component you're interested in.
Components are preceded by a small [C] letter:
Press the [+] button to add the component to the reveal list. The component will be visualised as a collapsed foldout in Prefab Mode, in order not to take too much space:
When seeing the object in the scene though, the component is shown with all its properties, and all the eventual custom property drawers:
Just like for properties, components can also be revealed in context. While you have the right GameObject selected, right-click the component's title bar and choose BlackBox > Entire Component > Reveal in..., like so:
This is done exactly .
Unfortunately, a Unity limitation means we can't display the custom names that you might have assigned to , and that's why they are displayed as First List, Second List, etc. up to 5 lists.
To add components to a higher number list, you can move the list in one of the first 5 positions, add the component, and move it back (using the reorder buttons in ).