Access Player from c++

No need for any iteration, you can just use:


UGameplayStatics::GetPlayerController(this, 0) //for singleplayer

3 Likes