- Home /
Is it possible to make an existing prefab the variant of another?
Hey everyone,
Before the system of prefab variants got into Unity, I have created hundreds of prefabs. They are all exactly the same except their materials and hardness values. Now I've been wonderingif it's possible to make an existing prefab, the variant of another. Recreating all the prefabs is not a viable path, as it would take maybe hundreds of hours to change the materials, rename everything, lookup the values in the database and so on and so on.
This is not the most necessary thing, but it would surely make things easier. What do you think? Is it possible?
Thanks in advance.
It is possible, but it will require quite a bit of custom scripting to get it to work the way you want. You can leverage UnityEditor.PrefabUtility
Your answer
Follow this Question
Related Questions
does it matter if i keep unused prefabs in project while building an app. 1 Answer
PrefabUtility.CreatePrefab fails if prefab already exists 1 Answer
"Change" Prefab Component Attributes 0 Answers
How to make sure editor completed refreshing before running other codes? 1 Answer
Must I always create a public variable for Prefabs? 2 Answers