In this section we are listing all the commands that are here to help you rename assets and objects. All the rename commands work both on assets and scene objects.
Renames the assets selected so that the file name is the same as the object name
Quick Name: FAN
Usage: Sometimes the editor crashes when you are in the middle of renaming an asset. It may happen (especially when you use special serialization plugins like Odin Inspector) that the name of the object differs from the name of the asset, leading to confusing linking in the inspector. This is more common with MonKey as you can batch a lot of renaming in a row. Using this command fixes any naming problem.
Example: You were renaming an asset but the editor crashed: when you reopen your project, the asset name is the same, but the object has the old name: use this command to fix that.
Renames all the selected objects with new names specified
Quick Name: R
Hot Keys: CTRL+SHIFT+F2
Usage: Changes the name of few objects at once. This can be achieve in Unity by modifying the name field, but it's not always a very fast thing to do. The command also allows you to specify few names in a row: they will be applied one after the other on the selected objects.
Example: You want to rename 5 enemies by giving them names. You can specify the names one after the other and rename all the objects at once without having to manually click each one of them.
Replaces text until the first occurrence of a specified term
Quick Name: RE
Usage: This command is very useful when you want to remove some prefix from the names of the objects you selected.
Example: You are using an asset store asset that has a prefix in front of all its asset such as "AssetStore_Tree". You can use this command to rename until "_" and replace it by "" to get rid of this prefix.
Adds suffixes to the names of the selected objects.
Quick Name: RNS
Usage: Unity does not recognize name similarities when rennaming few objects: with this command you can quickly add the same ending to few objects at once.
Example: You want to name a few objects in a specific zone of your level with the suffix "Zone A" to quickly see them in the hierarchy. This command will add this term to the end of each objects you selected
Adds a number at the end of the selected objects depending on the order of selection
Quick Name: RON
Hot Keys: CTRL+F2
Usage: You sometimes need to name some objects according to their order so that you can separate their name when looking for objects on the scene.
Example: You have one hundred boxes on the level, and they are all named "Box" which makes it H
Adds prefixes to the names of the selected objects.
Quick Name: RPR
Usage: Adds a text at the start of the names of all the selected objects. This is useful when you want to label a bunch of objects without having to cahgen them all manually
Example: You want to add a prefix to some trees so that they are marked as "to be fixed": you can selected them all and add this as a prefix to find them easily.
Replaces text from the first occurrence of a specified term
Quick Name: RF
Usage: Replaces the end of a text from the first occurrence of the specified text. This is useful when you want to clean up the names of your objects to remove redundant or useless terms.
Example: You want to remove the duplicate terms from Unity (either (clone) or (1) (2), etc): by using this command from "(" you will remove all those terms.
Replaces text from the last occurrence of a specified term
Quick Name: RL
Usage: Similar to "Rename From First" but from the last occurrence of a term, not from the first. The usage is similar, but depending on the way you want to format your texts you may use this one instead of the other.
Example: You want to remove the last word of every names: using this command with the term " " as the last replaced by "", you will remove the last words.
Replaces a term by another one in the names of the objects selected
Quick Name: RRT
Hot Keys: ALT+F2
Usage: Replace a precise term by another one. By default ignores the case so that you don't have to type capital letters. This is very useful when you want to change a naming convention.
Example: All the environment asset had the "Enviro" term attached to their name, and you want to change this into "Nature": this command will do this for you.
Replaces a term by a different one for each selected objects names
Quick Name: RPT
Usage: This command is very similar to "Rename Replace Term", except that the replacement term will iterate over the list of terms your provided with each object selected. This is useful when you want to quickly give different IDs to a group of object.
Example: You have 4 statues in a room that represent the 4 cardinal points. You want to rename "Statue - Middle" into "Statue North", "Statue South", and so on: by using the command to replace "Middle" by "North","South","East", "West" to have it done in one call.
Updates the numbers in the selected objects' names to reflect the order
Quick Name: RUO
Hot Keys: CTRL+ALT+F2
Usage: If you have few objects that are all numbered by some order but you want to change that order, this command will apply new numbers depending on the order of selection.
Example: You have a list of levels that are numbered by the order at which they will be played, but the order changed: by selecting the scenes in the good order you will rename them accordingly.
Changes a c# name type to a name containing spaces and easier to read
Quick Name: NN
Usage: This command makes objects easier to read by converting a CamelCase type of naming into word and numbers separated by spaces.
Example: A programmer in your team has a tendency to keep coding conventions in the editor, but this makes names much harder to read: this command will fix all his mistakes at once :)
Removes the terms created in the names of the selected objects when you duplicate an object
Quick Name: RUD
Usage: The duplicating terms that Unity create (like (Clone) or (1) are sometimes useful, but sometimes annoying, and super annoying to remove, this commands gets rid of them.
Example: If like me you like to keep your scene name short and custom, this command gets very convenient when working on UI elements or when placing props.