13 lines
		
	
	
		
			435 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			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);
 | |
| }
 |