fucking 3d widget dog shit I should have just used normal ui
This commit is contained in:
12
Source/MyProject/Private/ModeInputTextBox.cpp
Normal file
12
Source/MyProject/Private/ModeInputTextBox.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
|
||||
#include "ModeInputTextBox.h"
|
||||
|
||||
void UModeInputTextBox::HandleOnTextChanged(const FText& inText) {
|
||||
|
||||
auto & s = inText.ToString();
|
||||
auto lastChar = s.LeftChop(1);
|
||||
lastChar.ToUpperInline();
|
||||
SetText(FText::FromString(lastChar));
|
||||
}
|
Reference in New Issue
Block a user