this was probably a bad idea because they need to be actors for events to work

This commit is contained in:
wonkyhonky2024
2025-05-09 23:18:45 +01:00
parent 8e1b4928a9
commit 916d188d5b
4 changed files with 38 additions and 6 deletions

View File

@ -7,6 +7,8 @@
#include <Components/TextBlock.h>
#include "MagicFloatInput.generated.h"
DECLARE_DELEGATE(FOnMagicFloatsMangledDelegate);
/**
*
*/
@ -22,4 +24,12 @@ class MYPROJECT_API UMagicFloatInput : public UEditableTextBox {
UPROPERTY(EditAnywhere)
UTextBlock * sourceInput;
UPROPERTY(EditAnywhere)
UTextBlock * myVerifier;
UFUNCTION()
void HandleMagicFloatsMangledEvent();
FOnMagicFloatsMangledDelegate OnMagicFloatsMangled;
};