HideFlags.DontSaveInBuild

Description

The object will not be saved when building a player.

For Prefab instances in a scene, you can set the hideflag on the Prefab instance handle object as a way to set the same hideflags on all the objects of the Prefab instance. (See PrefabUtility.GetPrefabInstanceHandle).


Did you find this page useful? Please give it a rating: