UGameplayStatics::GetPlayerController

Returns the player controller found while iterating through the local and available remote player controllers.