Files
BusyRabbit/Source/BusyRabbit/Private/BusyPlayerController.cpp
2025-07-09 01:08:35 +08:00

13 lines
435 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#include "BusyPlayerController.h"
#include "BusyGameInstance.h"
void ABusyPlayerController::BeginPlay(){
Super::BeginPlay();
bShowMouseCursor = true; // ÏÔʾ¹â±ê
FInputModeGameAndUI InputMode;
InputMode.SetHideCursorDuringCapture(false);
InputMode.SetLockMouseToViewportBehavior(EMouseLockMode::DoNotLock);
SetInputMode(InputMode);
}