fucking 3d widget dog shit I should have just used normal ui

This commit is contained in:
wonkyhonky2024
2025-05-07 21:38:27 +01:00
parent 6c98e84ea0
commit 61b95d1c56
13 changed files with 74 additions and 13 deletions

View File

@ -0,0 +1,18 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/EditableTextBox.h"
#include "ModeInputTextBox.generated.h"
/**
*
*/
UCLASS()
class MYPROJECT_API UModeInputTextBox : public UEditableTextBox
{
GENERATED_BODY()
void HandleOnTextChanged(const FText& inText) override;
};

View File

@ -0,0 +1,17 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/PlayerState.h"
#include "MyPlayerState.generated.h"
/**
*
*/
UCLASS()
class MYPROJECT_API AMyPlayerState : public APlayerState
{
GENERATED_BODY()
};

View File

@ -17,6 +17,7 @@ class MYPROJECT_API UMyUserWidget : public UUserWidget
GENERATED_BODY()
UPROPERTY(meta=(BindWidget))
UTextBlock * OpIdTextBlock;
UTextBlock * opIdTextBlock;
void NativeOnInitialized() override;
};