I want to change the default pawn of my game and I decided to do it with c++.
I came up with this solution, which works fine:
static ConstructorHelpers::FClassFinder<APawn> MyPawn(TEXT(" address..."));
DefaultPawnClass=Pawn.Class;
However, I searched on the internet and found this approach used more often:
static ConstructorHelpers::FObjectFinder<UClass> MyPawn(TEXT(" address..."));
DefaultPawnClass=(UClass*)Pawn.Object;
What advantages does UObjectFinder have over UClassFinder?
Are there certain circumstances where one is preferable to the other?