Payback
0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
CK_PlayerController.h
이 파일의 문서화 페이지로 가기
1
// Fill out your copyright notice in the Description page of Project Settings.
2
3
#pragma once
4
5
#include "CoreMinimal.h"
6
#include "GameFramework/PlayerController.h"
7
#include "CK_PlayerController.generated.h"
8
9
class
UHUDWidget
;
10
class
UUIManagerComponent;
14
UCLASS()
15
class CK_UE_API
ACK_PlayerController
: public APlayerController
16
{
17
GENERATED_BODY()
18
19
public
:
20
ACK_PlayerController
();
21
22
bool
GetMouseLocation(FVector& OutLocation)
const
;
23
24
void
SetTargetFOV(
float
NewFOV,
float
Speed);
25
26
protected
:
27
virtual
void
BeginPlay()
override
;
28
29
virtual
void
PlayerTick(
float
DeltaTime)
override
;
30
31
public
:
32
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = HUD)
33
TSubclassOf<
UHUDWidget
> HUDWidgetClass;
34
35
UPROPERTY()
36
TObjectPtr<
UHUDWidget
> HUDWidget;
37
38
private:
39
float
TargetFOV = 90.0f;
40
float
FOVChangeSpeed = 2.0f;
41
bool
bIsFOVChanging = false;
42
};
ACK_PlayerController
Definition
CK_PlayerController.h:16
UHUDWidget
Definition
HUDWidget.h:14
Source
CK_UE
Character
Player
PlayerController
CK_PlayerController.h
다음에 의해 생성됨 :
1.9.8