Scenes & Editing
Once a project is open, a File / Edit menu bar sits above the toolbar. This is milestone M2 of the roadmap.
File menu
The window title shows the scene file, the project name, and a leading *
when there are unsaved changes:
Unsaved-changes guard
New Scene, Open Scene, and Close Project check the dirty flag first. If the scene has unsaved edits, a modal asks Save / Discard / Cancel before continuing. The dirty flag is set by any authoring edit (it ignores Play-mode simulation) and cleared on save, load, or new.
Edit menu
Paste, duplicate, and prefab instancing all go through one engine helper,
safi_scene_instantiate_snapshot, which turns a
serialized snapshot into brand-new entities with fresh
stable ids and rewires parent links within the pasted
set.
Note: entity create / delete is not yet on the undo ring (M6 covers component edits). Undo of a paste or delete is a later item.
See also
- Editor Hub — opening the project these scenes live in
- Scene Serialization — the on-disk format + the snapshot / instantiate APIs
- Editor roadmap