Unity Tool – Rename Tool

The Rename tool is useful when an artist make a mistake and the assets need to follow the naming convention. It is access right from the project window.

You right-click on the elements in Unity (in the project windows) and you select the Rename tool. The windows open with the select element to be renamed, with the cursor in the field to type the new name. When you are ready you hit the rename button and the process will identify all the old path of the target elements and relink it with the new name, the tool will also check out all the elements on Perforce that were updated in the process.

The tool allows the user to replace the space with an underscore. The tool will not allow the user to rename a file to the same name or if the new name field is an empty string. The tool prevents any renaming of objects that aren’t authorized to be renamed, not available to right-click on it. There are added popup for the artists to understand their action, and a loading bar while the tool is relinking.

This script was developed at Ludia for an ongoing mobile game live.