Files
TheracUE/Source/MyProject/Private/ModeInputTextBox.cpp
wonkyhonky2024 c7d7856634 more nonsense
2025-05-09 16:02:07 +01:00

11 lines
319 B
C++

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