챕터 리스트의 개별 슬롯 위젯 (예: 챕터 1 버튼)
More...
#include <ParadiseChapterSlotWidget.h>
|
| void | InitSlot (int32 InChapterID, bool bIsUnlocked, UTexture2D *InMapTexture, UMaterialInterface *InButtonMaterial) |
| | 챕터 슬롯의 시각적 요소를 초기화합니다. (Data-Driven)
|
|
|
virtual void | NativeConstruct () override |
|
virtual void | NativeDestruct () override |
|
|
TObjectPtr< UButton > | Btn_Chapter = nullptr |
| | 챕터 진입 버튼
|
챕터 리스트의 개별 슬롯 위젯 (예: 챕터 1 버튼)
◆ InitSlot()
| void UParadiseChapterSlotWidget::InitSlot |
( |
int32 | InChapterID, |
|
|
bool | bIsUnlocked, |
|
|
UTexture2D * | InMapTexture, |
|
|
UMaterialInterface * | InButtonMaterial ) |
챕터 슬롯의 시각적 요소를 초기화합니다. (Data-Driven)
- Parameters
-
| InChapterID | 챕터 고유 번호 |
| bIsUnlocked | 해당 챕터의 해금(입장 가능) 여부 |
| InMapTexture | 챕터 진입 시 배경으로 깔릴 3D 지도 텍스처 |
| InButtonMaterial | 버튼 표면을 덮을 전용 머티리얼 |
◆ OnChapterSelected
| FOnChapterSelected UParadiseChapterSlotWidget::OnChapterSelected |
챕터 버튼이 클릭됐을 때 발사되는 델리게이트
부모 위젯(ChapterSelectWidget) 이 바인딩하여 컨트롤러에 전달합니다.
The documentation for this class was generated from the following files:
- Source/Paradise/Public/UI/Widgets/Chapter/ParadiseChapterSlotWidget.h
- Source/Paradise/Private/UI/Widgets/Chapter/ParadiseChapterSlotWidget.cpp