KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
UBasePopup.h
이 파일의 문서화 페이지로 가기
1// Copyright (c) 2025 Doppleddiggong. All rights reserved. Unauthorized copying, modification, or distribution of this file, via any medium is strictly prohibited. Proprietary and confidential.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "EPopupType.h"
7#include "EGameSoundType.h"
8#include "Blueprint/UserWidget.h"
9#include "FEaseHelper.h"
10#include "UBasePopup.generated.h"
11
17UCLASS()
18class ONEPIECE_API UBasePopup : public UUserWidget
19{
20 GENERATED_BODY()
21
22public:
23 // ~ Begin UUserWidget Interface
24 virtual void NativeTick(const FGeometry& MyGeometry, float InDeltaTime) override;
25 // ~ End UUserWidget Interface
26
30 UFUNCTION(BlueprintCallable, Category = "Popup|Animation")
31 void OpenAnimation();
32
33protected:
35
36 // ========================================
37 // Blueprint Open Animation
38 // ========================================
39
44 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Popup|Animation", meta = (BindWidgetOptional))
45 UWidgetAnimation* BlueprintOpenAnimation;
46
47 // ========================================
48 // Script Open Animation
49 // ========================================
50
54 void UpdateAnimation(float InDeltaTime);
55
57 bool bIsOpenAnim = false;
58
60 float OpenElapsedTime = 0.0f;
61
63 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Popup|Animation")
64 float OpenDuration = 0.2f;
65
67 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Popup|Animation")
68 float OpenStartScale = 0.8f;
69
71 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Popup|Animation")
72 float OpenTargetScale = 1.0f;
73
75 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Popup|Animation")
76 FVector2D OpenPivot = FVector2D(0.5f, 0.5f);
77
82 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Popup|Animation")
83 EEaseType OpenEaseType = EEaseType::EaseOutBack;
84
85 // ========================================
86 // Sound
87 // ========================================
88
95 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Popup|Sound")
97
98public:
104 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Popup|Control")
105 bool bAllowPlayerControl = false;
106};
EGameSoundType 클래스를 선언합니다.
EGameSoundType
EPopupType
팝업 타입 정의
Definition EPopupType.h:14
EEaseType 클래스를 선언합니다.
EEaseType
Definition FEaseHelper.h:9
모든 팝업의 기본 클래스
Definition UBasePopup.h:19
EPopupType PopupType
Definition UBasePopup.h:34