unreal.CineAssemblyLevelSaveOptions

class unreal.CineAssemblyLevelSaveOptions(save_current_level: bool = False, prompt_for_unsaved_changes: bool = False)

Bases: StructBase

When opening a level, these options tell us how to handle unsaved changes in the currently open level

C++ Source:

  • Plugin: CinematicAssemblyTools

  • Module: CineAssemblyToolsEditor

  • File: CineAssemblyEditorFunctionLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • prompt_for_unsaved_changes (bool): [Read-Write] Whether the user should be prompted before saving the current level

  • save_current_level (bool): [Read-Write] Whether the currently open level should be saved before opening a different level

property prompt_for_unsaved_changes: bool

[Read-Write] Whether the user should be prompted before saving the current level

Type:

(bool)

property save_current_level: bool

[Read-Write] Whether the currently open level should be saved before opening a different level

Type:

(bool)