Fix Folder Structure

This commit is contained in:
martinluckyrobots
2025-04-07 10:28:47 +08:00
parent 5931bc7e84
commit 5d8e225db5
22 changed files with 24 additions and 24 deletions

View File

@ -0,0 +1,25 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "Lobby/LobbyPlayerController.h"
void ALobbyPlayerController::BeginPlay()
{
Super::BeginPlay();
Init();
}
void ALobbyPlayerController::SetupInputComponent()
{
Super::SetupInputComponent();
InputComponent->BindAction("LobbyInit", IE_Pressed, this, &ALobbyPlayerController::Init).bConsumeInput = false;
InputComponent->BindAction("LobbyInit", IE_Released, this, &ALobbyPlayerController::Init).bConsumeInput = false;
}
void ALobbyPlayerController::Init()
{
bShowMouseCursor = true;
SetIgnoreMoveInput(true);
}