Hello!
In my game mode, i want it to select a character class in the C++ content folder, but it can’t find the folder. How do i do this?
This is my current gamemode:
// Fill out your copyright notice in the Description page of Project Settings.
#include "RGProject.h"
#include "RGProjectGameMode.h"
ARGProjectGameMode::ARGProjectGameMode()
{
// set default pawn class to our Blueprinted character
static ConstructorHelpers::FClassFinder<APawn> NG(TEXT("/Game/C++ Classes/NightGuard"));
if (NG.Class != NULL)
{
DefaultPawnClass = NG.Class;
}
}