I am making a C++ class to handle the Settings that the user enters. It handles two things: to give the player their measurements based on the US or the Metric system, and whether jokes should appear in the notification box.
Anyway, this is my .h file.
// Fill out your copyright notice in the Description page of Project Settings.
/**
*
*/
/Zm150
UCLASS()
class ACTIONSOFNIHIL_API UGameSettings :: public UGameUserSettings
{
GENERATED_BODY()
UFUNCTION(BlueprintCallable, Category="PlayerDefinedGameSettings")
void ActivatePlayerDefinedGameSettings();
//Settings Variables
bool UsingMetricSystem = false;
bool JokeNotificationsOn = true;
};
and this is my .cpp file
// Fill out your copyright notice in the Description page of Project Settings.
void UGameSettings::ActivatePlayerDefinedGameSettings()
{
};