Skip to content

UExperimentDemoSubsystem::GetPlayerPawnByName

Class: UExperimentDemoSubsystem

Finds the player pawn by searching for an actor whose name matches the stored player pawn name.

Syntax

APawn * UExperimentDemoSubsystem::GetPlayerPawnByName()

Return Value

Pointer to the named player APawn, or nullptr if not found.

Remarks

Pointer to the named player APawn, or nullptr if not found.