// Copyright Epic Games, Inc. All Rights Reserved. #include "OnlineSampleGameMode.h" #include "Player/OnlineSamplePlayerController.h" #include "OnlineSampleCharacter.h" #include "UObject/ConstructorHelpers.h" AOnlineSampleGameMode::AOnlineSampleGameMode() { // set default pawn class to our Blueprinted character static ConstructorHelpers::FClassFinder<APawn> PlayerPawnBPClass(TEXT("/Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter")); if (PlayerPawnBPClass.Class != NULL) { DefaultPawnClass = PlayerPawnBPClass.Class; } // Assign our new player controller class PlayerControllerClass = AOnlineSamplePlayerController::StaticClass(); }