Files
PythonInUnreal/archive/legacy_python/basic_scripting_demo/1.py
T
2026-10-31 17:03:41 +01:00

5 lines
158 B
Python

import unreal
sub = unreal.get_editor_subsystem(unreal.EditorActorSubsystem)
actors = sub.get_all_level_actors()
unreal.log(f"{len(actors)} actors in level")