unreal.PythonScriptPluginSettings

class unreal.PythonScriptPluginSettings(outer=None, name='None')

Bases: unreal.DeveloperSettings

Configure the Python plug-in.

C++ Source:

  • Plugin: PythonScriptPlugin
  • Module: PythonScriptPlugin
  • File: PythonScriptPluginSettings.h

Editor Properties: (see get_editor_property/set_editor_property)

  • additional_paths (Array(DirectoryPath)): [Read-Write] Array of additional paths to add to the Python system paths.
  • developer_mode (bool): [Read-Write] Should Developer Mode be enabled on the Python interpreter (will enable extra warnings (eg, for deprecated code), and enable stub code generation for use with external IDEs).
  • startup_scripts (Array(str)): [Read-Write] Array of Python scripts to run at start-up (run before the first Tick after the Engine has initialized).