Unity插件 – 组件名称插件 Component Names

file size: 570.0 KB

Version: 1.0.9

Original Unity Version: 2021.3.4 or higher

Component names are seamlessly integrated with the checker, and components can be renamed at will as if it were a native feature.

feature

Select the title of the component and press F2 to start renaming (if the keyboard is damaged, select “Rename” from the context menu). By default, the default name appears in parentheses after the custom name. The custom component name can be seen in the object field. The custom component name can be seen in the UnityEvent drop-down list. You can view a summary description of the component when you hover over the component title. Provide custom tooltips for components. All custom name data is completely stripped from the build. The

encoder function

uses Component.GetName to get the component names in the code (great for debugging!). Generate a component name from the current state by calling Component.SetName in OnVerify. Causes Component.name and Component.ToString to return custom component names by deriving from custom base classes.

is highly compatible

is compatible with Power Inspectors, Odin Inspectors and any custom editors you may have.