TalesOfTheFallen/Source/BossRushJam2025/FallenPlayerController.cpp

18 lines
457 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#include "FallenPlayerController.h"
AFallenPlayerController::AFallenPlayerController()
: gameNavigationConfig(MakeShared<FFallenNavigationConfig>())
{
}
void AFallenPlayerController::BeginPlay()
{
Super::BeginPlay();
// Adds WASD keys for UI navigation and only use enter as accept (removes space)
FSlateApplication::Get().SetNavigationConfig(gameNavigationConfig);
}