HideFlags.DontSaveInEditor

Switch to Manual

Description

The object will not be saved to the Scene in the editor.

You must manually clear the object from memory using DestroyImmediate to avoid memory leaks.