I have a prefab with GameObjects, and Components attached to them which create child objects.
How can I prevent Unity from saving this dynamic objects to a prefab when I press Apply button? HideFlag.DontSave seem to be not working.
I have a prefab with GameObjects, and Components attached to them which create child objects.
How can I prevent Unity from saving this dynamic objects to a prefab when I press Apply button? HideFlag.DontSave seem to be not working.
Seems like the only way is to delete this objects during prefab instantiation and tag them EditorOnly hoping they will be stripped from final build.