KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
UInteractWidget.cpp
이 파일의 문서화 페이지로 가기
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
4#include "UInteractWidget.h"
5
6#include "Components/TextBlock.h"
7
8void UInteractWidget::InitInfo(const FString InKey, const FString InDesc)
9{
10 Txt_Key->SetText(FText::FromString(InKey));
11 Txt_Desc->SetText(FText::FromString(InDesc));
12}
13
14void UInteractWidget::UpdateDesc(const FString& NewDesc)
15{
16 if (Txt_Desc)
17 Txt_Desc->SetText(FText::FromString(NewDesc));
18}
TObjectPtr< class UTextBlock > Txt_Key
void UpdateDesc(const FString &NewDesc)
void InitInfo(const FString InKey, const FString InDesc)
TObjectPtr< class UTextBlock > Txt_Desc