I’m playing with Python in editor.
When i use construction
world = unreal.EditorLevelLibrary.get_editor_world()
it works, but says that this construction is deprecated, and i must ““Use the function in Unreal Editor Subsystem””
But when i use following construction
world = unreal.UnrealEditorSubsystem.get_editor_world()
Console writes “descriptor ‘get_editor_world’ of ‘UnrealEditorSubsystem’ object needs an argument”.
What argument i need? (“Self” - not working)