- Home /
Is it possible to rename an asset in V5.5?
I want to rename scenes and other assets in the Project View. I've been reading a book on making a 2D game and it tells me to duplicate a scene and rename it, but when I right-click or try to use the inspector, I am unable to rename it.
Is there a way to rename an asset or has that feature been removed?
Answer by bluntcoder · Dec 29, 2017 at 08:44 PM
As per what @veugeljame said above, click on the asset in the Project Tab/Window. Then hit F2. This works for materials, scenes, and scripts at the very least.
However, if you have those scripts bound to objects and you DON'T rename the script class to the same name as the file, in 2017.3., it breaks and switches the component to "Nothing Selected".
Answer by Pitiedowl · Feb 07, 2017 at 06:40 PM
Yes very simple you can do it in the inspector tab once you have the asset selected. It will be at the top of the inspector tab.
Wow! I did not know this! Thank you! This should help with all my (poorly) named assets!
You can also click on the object/asset in the hierarchy or project explorer and press
F2
Then type in the name you want.
That doesn't work for objects such as scenes and scripts. Someone on the forum told me that I actually have to click on the name of the object after selecting it and it will let me rename.
Thanks for your answer though!
Update for 2017.3, this isn't possible. I have submitted a new answer below.