5 lines
158 B
Python
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") |