
Aiming and Crosshairs - 1
·
Unreal 공부/Unreal Engine 4 C++ The Ultimate Shooter
Zooming Field of View Fov값 설정을 통한 줌 기능을 만들어 보겠습니다. 우선 Zoom 상태인지 확인할 bool 변수와 이를 설정해줄 함수를 선언해 줍니다. (SetupPlayerInputComponent 까지 설정) ShooterCharacter.h protected: ... // Set bAiming to true or false with button void AimingButtonPressed(); void AimingButtonReleased(); ... private: ... UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Input, meta = (AllowPrivateAccess = "true")) class UInputAct..