View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.2.2
- Last updated
- First released
- Unity version
- 2021.3.45 or later
- Package size
- 589 KB
- Files
- 58
- Favorites
- 226
- Views in the past week
- 39
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $4.99 on
Keywords
Component Names
Component Names integrates seamlessly with the Inspector and makes it possible to rename components.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 3
Component Names screenshot 1
About this asset
Ever had trouble distinguishing multiple colliders on the same GameObject from each other?
Ever wished you could rename that generic "Event Trigger" component to something a little more descriptive like "On Click Open Settings"?
What if you could attach little notes to your components to provide some clarifying context?
Wouldn't it be great if you could see the current state of that "Health" component right in the title without having to unfold it?
Now you can!
Component Names integrates seamlessly with the Inspector and makes it possible to rename components at will as if it was a native feature.
Features
- Select a component's header and press F2 to start renaming it (or select "Rename" from the context menu if your keyboard is broken).
- Default name is shown in parentheses after the custom name by default.
- Custom component names can be seen in Object fields.
- Custom component names can be seen in UnityEvent dropdowns.
- See a summary description of components when mouseovering their header.
- Give custom tooltips to components.
- All custom name data is fully stripped from builds.
Features For Coders
- Get component names in code using Component.GetName (great for debugging!).
- Generate component names from their current state by calling Component.SetName in OnValidate.
- Make Component.name and Component.ToString return custom component names by deriving from custom base class.
Highly Compatible
Compatible with Odin Inspector, Power Inspector, and any custom editors you might have.
| Forum |
From the publisher's Asset Store listing.
Technical details
Component Names
- Select a component's header in the Inspector and press F2 to start renaming it (or select "Rename" from the context menu).
- Default name is shown in parentheses after the custom name by default.
- Add a custom suffix after the default name by typing "(suffix)".
- Give a custom name and suffix by typing "Name (suffix)".
- Give a custom name without default name suffix by typing "Name ()".
- Custom component names are shown in Object fields and UnityEvent fields.
- All custom name data is fully stripped from builds.
Component Tooltips
- Give a custom tooltip by typing "Name | Tooltip".
- When a component class has summary documentation it is automatically shown as a tooltip when its header is mouseovered in the Inspector.
Features For Coders
- Extension methods component.GetName and component.SetName make it simple to get or set component names in code as well.
- Easily change Component.name and Component.ToString() to return the component's name by extending custom base class - or by overriding them yourself with just a few lines of code.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2021.3.45f2 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.