Question by
LilGames · Jun 20, 2018 at 03:20 PM ·
prefabcomponents
Is it possible to protect a component from deletion?
I have prefabs that are created through a tool. These prefabs I then add components to. But if I make an artistic edit to the "source" of my prefab, then use the tool to re-create the prefab, I lose all the components I added.
Is there any way to mark a component as protected, such that when the prefab is re-done, it replaces the model, mesh, texture but does not destroy the components?
Comment
Your answer
Follow this Question
Related Questions
Problem with prefab 0 Answers
How to add Components to some individuals parts of a prefab 1 Answer
Prefab value don't change InScene object value 1 Answer
How can I detect prefabs edited in the prefab editor in OnValidate? 2 Answers
Working with UI as prefab, will change values outside the prefab 0 Answers