UWorld::RemovePawn

Removes the passed in pawn from the linked list of pawns.

Windows
MacOS
Linux

Deprecated

  • RemovePawn has been deprecated and should no longer need to be called as PawnList is no longer maintained and Unpossess should be handled by EndPlay.

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/World.cpp

Syntax

void RemovePawn
(
    APawn * Pawn
) const

Remarks

Removes the passed in pawn from the linked list of pawns.

Parameters

Parameter

Description

Pawn

Pawn to remove

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