- Home /
Question by
Long2904 · Mar 15, 2021 at 05:13 PM ·
assetscriptableobjectnameassetdatabaserename
How to change an object's name inside an asset file?
I have an asset with multiple scriptable objects inside it (by using AddObjectToAsset). I want to change the name of those objects that get displayed in the project view without changing the actual name of the asset. If I use AssetDatabase.Rename() it would change both the asset and the object's name.
Comment
Your answer
Follow this Question
Related Questions
Why unity can't create/save asset (ScriptableObject ) at runtime ? 1 Answer
How to get the asset file from the AssetDatabase.CreateAsset() 1 Answer
Prefab as a subasset of a ScriptableObject 0 Answers
Changing the name of a project-asset in C# 1 Answer
Custom assets give Missing (Mono Script) 0 Answers