GEN_EDIT_STATE_DISABLED:null = 0
If passed to [method PackedScene.instantiate], blocks edits to the scene state.
GEN_EDIT_STATE_INSTANCE:null = 1
If passed to [method PackedScene.instantiate], provides inherited scene resources to the local scene.
Note: Only available in editor builds.
GEN_EDIT_STATE_MAIN:null = 2
If passed to [method PackedScene.instantiate], provides local scene resources to the local scene. Only the main scene should receive the main edit state.
Note: Only available in editor builds.
GEN_EDIT_STATE_MAIN_INHERITED:null = 3
If passed to [method PackedScene.instantiate], it's similar to
GEN_EDIT_STATE_MAIN, but for the case where the scene is being instantiated to be the base of another one.
Note: Only available in editor builds.