Entire components
Last updated
Last updated
In addition to revealing individual properties, 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:
This is done exactly as it's done for properties.
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: