Files
TheracUE/Source/MyProject/Private/ModeInputTextBox.cpp

11 lines
319 B
C++
Raw Normal View History

// Fill out your copyright notice in the Description page of Project Settings.
#include "ModeInputTextBox.h"
2025-05-09 16:02:07 +01:00
void UModeInputTextBox::HandleOnTextChanged(FText const & inText) {
auto & s = inText.ToString();
auto lastChar = s.LeftChop(1);
lastChar.ToUpperInline();
SetText(FText::FromString(lastChar));
}