- Home /
Question by
FakeBocha · Feb 15, 2020 at 08:15 PM ·
editor-scriptingprefabs
Editing a prefab with script wont apply changes
Hi, I'm trying to apply changes to my prefab when I'm inside prefab mode and it won't save the changes. It works if I'm in scene view and selecting that prefab - but not when I'm in the prefab mode (I'm destroying objects and it doesn't work if I'm in the scene mode).
I'm using
PrefabUtility.ApplyPrefabInstance(my Prefab,InteractionMode.AutomatedAction,);
Comment