15 lines
291 B
C++
15 lines
291 B
C++
//
|
|
|
|
|
|
#include "UI/Widgets/Normal/AmountContainerBase.h"
|
|
|
|
#include "CommonTextBlock.h"
|
|
|
|
void UAmountContainerBase::UpdateAmount(const float InAmount,const FNumberFormattingOptions* const Options) const
|
|
{
|
|
if (AmountText)
|
|
{
|
|
AmountText->SetText(FText::AsNumber(InAmount, Options));
|
|
}
|
|
}
|