UCheatManager::DestroyPawns

Destroys (by calling destroy directly) all non-player pawns of class aClass in the level

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/CheatManager.h

Include

#include "GameFramework/CheatManager.h"

Source

/Engine/Source/Runtime/Engine/Private/CheatManager.cpp

Syntax

virtual void DestroyPawns
(
    TSubclassOf< class APawn > aClass
)

Remarks

Destroys (by calling destroy directly) all non-player pawns of class aClass in the level

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss