From 6c98e84ea039bcf1ae62e76ee24f2bd8e0b803eb Mon Sep 17 00:00:00 2001 From: wonkyhonky2024 Date: Tue, 6 May 2025 21:24:10 +0100 Subject: [PATCH] start working on therac console ui --- .ignore | 6 + Content/Blueprints/NewUserWidget.uasset | 3 + Content/FirstPerson/Maps/FirstPersonMap.umap | 4 +- Content/LinacLab/MyMyUserWidget.uasset | 3 + Content/LinacLab/vt100_Blueprint.uasset | 3 + .../4/WJ/ZO5YPDSQ83WFH5A5AA6TXE.uasset | 3 + .../C/36/99397IYAWHV0M7M45F79WK.uasset | 3 - .../E/MX/R1GV431P5FDO08OFULRA01.uasset | 4 +- MyProject.code-workspace | 627 ++++++++++++++++++ MyProject.uproject | 5 +- Source/MyProject/Private/MyUserWidget.cpp | 9 + Source/MyProject/Public/MyUserWidget.h | 22 + 12 files changed, 684 insertions(+), 8 deletions(-) create mode 100644 .ignore create mode 100644 Content/Blueprints/NewUserWidget.uasset create mode 100644 Content/LinacLab/MyMyUserWidget.uasset create mode 100644 Content/LinacLab/vt100_Blueprint.uasset create mode 100644 Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/4/WJ/ZO5YPDSQ83WFH5A5AA6TXE.uasset delete mode 100644 Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/C/36/99397IYAWHV0M7M45F79WK.uasset create mode 100644 MyProject.code-workspace create mode 100644 Source/MyProject/Private/MyUserWidget.cpp create mode 100644 Source/MyProject/Public/MyUserWidget.h diff --git a/.ignore b/.ignore new file mode 100644 index 0000000..8485450 --- /dev/null +++ b/.ignore @@ -0,0 +1,6 @@ +/.git +/.vscode +/Content +/DerivedDataCache +/Intermediate +/Saved diff --git a/Content/Blueprints/NewUserWidget.uasset b/Content/Blueprints/NewUserWidget.uasset new file mode 100644 index 0000000..710f006 --- /dev/null +++ b/Content/Blueprints/NewUserWidget.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b23d81d6c97ebd1252529123ed5c5d87f5ba4b87d9e7abf560679ecfa1834d8e +size 23396 diff --git a/Content/FirstPerson/Maps/FirstPersonMap.umap b/Content/FirstPerson/Maps/FirstPersonMap.umap index 7843e9f..6be53d7 100644 --- a/Content/FirstPerson/Maps/FirstPersonMap.umap +++ b/Content/FirstPerson/Maps/FirstPersonMap.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d48e92d46ae7601fe8a85fe014af9ba8997b76b8530cb29590457e4c60880175 -size 22977 +oid sha256:4c7e5f144a554e0425f92e3965766eaf7977678105e021fac2627a89b6a00d39 +size 22866 diff --git a/Content/LinacLab/MyMyUserWidget.uasset b/Content/LinacLab/MyMyUserWidget.uasset new file mode 100644 index 0000000..3b4338d --- /dev/null +++ b/Content/LinacLab/MyMyUserWidget.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e929e1f2ea2224dfae1c86c94be15ebdf4c70d42ec78f3598b8a66b76f636c1 +size 63832 diff --git a/Content/LinacLab/vt100_Blueprint.uasset b/Content/LinacLab/vt100_Blueprint.uasset new file mode 100644 index 0000000..bf3e850 --- /dev/null +++ b/Content/LinacLab/vt100_Blueprint.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7047af39513bbe41f034d152e902d20fcdfd961871b72f3952327766a3a48cb0 +size 32033 diff --git a/Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/4/WJ/ZO5YPDSQ83WFH5A5AA6TXE.uasset b/Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/4/WJ/ZO5YPDSQ83WFH5A5AA6TXE.uasset new file mode 100644 index 0000000..5ce9667 --- /dev/null +++ b/Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/4/WJ/ZO5YPDSQ83WFH5A5AA6TXE.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8279fcf21126d7adde4925ecb597c33f0c25e008b61e5572225f1993e1c7e4b3 +size 5051 diff --git a/Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/C/36/99397IYAWHV0M7M45F79WK.uasset b/Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/C/36/99397IYAWHV0M7M45F79WK.uasset deleted file mode 100644 index 78b2492..0000000 --- a/Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/C/36/99397IYAWHV0M7M45F79WK.uasset +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:761701e0b8e23a3ef46ab75d4b5916a7eab0318ad7e06f74f7373e612b261526 -size 4159 diff --git a/Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/E/MX/R1GV431P5FDO08OFULRA01.uasset b/Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/E/MX/R1GV431P5FDO08OFULRA01.uasset index 72e5784..4cdf51d 100644 --- a/Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/E/MX/R1GV431P5FDO08OFULRA01.uasset +++ b/Content/__ExternalActors__/FirstPerson/Maps/FirstPersonMap/E/MX/R1GV431P5FDO08OFULRA01.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6161937eb39f319d2195de9f8fac0bff0e04a889a69834d93573fa802ee0d482 -size 12412 +oid sha256:b206044b836f9dd22718e1d0288f91dec2c28bd7ab5b2bc92d8bd8f4ddf8b392 +size 12403 diff --git a/MyProject.code-workspace b/MyProject.code-workspace new file mode 100644 index 0000000..22fc170 --- /dev/null +++ b/MyProject.code-workspace @@ -0,0 +1,627 @@ +{ + "folders": [ + { + "name": "MyProject", + "path": "." + }, + { + "name": "UE5", + "path": "D:\\Epic Games\\UE_5.5" + } + ], + "settings": { + "typescript.tsc.autoDetect": "off", + "npm.autoDetect": "off", + "terminal.integrated.env.windows": { + "PATH": "D:\\Epic Games\\UE_5.5\\Engine\\Binaries\\ThirdParty\\DotNet\\8.0.300\\win-x64;${env:PATH}", + "DOTNET_ROOT": "D:\\Epic Games\\UE_5.5\\Engine\\Binaries\\ThirdParty\\DotNet\\8.0.300\\win-x64", + "DOTNET_HOST_PATH": "D:\\Epic Games\\UE_5.5\\Engine\\Binaries\\ThirdParty\\DotNet\\8.0.300\\win-x64\\dotnet.exe", + "DOTNET_MULTILEVEL_LOOKUP": "0", + "DOTNET_ROLL_FORWARD": "LatestMajor" + } + }, + "extensions": { + "recommendations": [ + "ms-vscode.cpptools", + "ms-dotnettools.csharp" + ] + }, + "tasks": { + "version": "2.0.0", + "tasks": [ + { + "label": "MyProject Win64 Debug Build", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProject", + "Win64", + "Debug", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 Debug Rebuild", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProject", + "Win64", + "Debug", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "dependsOn": [ + "MyProject Win64 Debug Clean" + ], + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 Debug Clean", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Clean.bat", + "args": [ + "MyProject", + "Win64", + "Debug", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 DebugGame Build", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProject", + "Win64", + "DebugGame", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 DebugGame Rebuild", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProject", + "Win64", + "DebugGame", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "dependsOn": [ + "MyProject Win64 DebugGame Clean" + ], + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 DebugGame Clean", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Clean.bat", + "args": [ + "MyProject", + "Win64", + "DebugGame", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 Development Build", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProject", + "Win64", + "Development", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 Development Rebuild", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProject", + "Win64", + "Development", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "dependsOn": [ + "MyProject Win64 Development Clean" + ], + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 Development Clean", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Clean.bat", + "args": [ + "MyProject", + "Win64", + "Development", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 Test Build", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProject", + "Win64", + "Test", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 Test Rebuild", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProject", + "Win64", + "Test", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "dependsOn": [ + "MyProject Win64 Test Clean" + ], + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 Test Clean", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Clean.bat", + "args": [ + "MyProject", + "Win64", + "Test", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 Shipping Build", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProject", + "Win64", + "Shipping", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 Shipping Rebuild", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProject", + "Win64", + "Shipping", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "dependsOn": [ + "MyProject Win64 Shipping Clean" + ], + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProject Win64 Shipping Clean", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Clean.bat", + "args": [ + "MyProject", + "Win64", + "Shipping", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProjectEditor Win64 Debug Build", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProjectEditor", + "Win64", + "Debug", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProjectEditor Win64 Debug Rebuild", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProjectEditor", + "Win64", + "Debug", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "dependsOn": [ + "MyProjectEditor Win64 Debug Clean" + ], + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProjectEditor Win64 Debug Clean", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Clean.bat", + "args": [ + "MyProjectEditor", + "Win64", + "Debug", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProjectEditor Win64 DebugGame Build", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProjectEditor", + "Win64", + "DebugGame", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProjectEditor Win64 DebugGame Rebuild", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProjectEditor", + "Win64", + "DebugGame", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "dependsOn": [ + "MyProjectEditor Win64 DebugGame Clean" + ], + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProjectEditor Win64 DebugGame Clean", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Clean.bat", + "args": [ + "MyProjectEditor", + "Win64", + "DebugGame", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProjectEditor Win64 Development Build", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProjectEditor", + "Win64", + "Development", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProjectEditor Win64 Development Rebuild", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Build.bat", + "args": [ + "MyProjectEditor", + "Win64", + "Development", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "dependsOn": [ + "MyProjectEditor Win64 Development Clean" + ], + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + }, + { + "label": "MyProjectEditor Win64 Development Clean", + "group": "build", + "command": "Engine\\Build\\BatchFiles\\Clean.bat", + "args": [ + "MyProjectEditor", + "Win64", + "Development", + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-waitmutex" + ], + "problemMatcher": "$msCompile", + "type": "shell", + "options": { + "cwd": "D:\\Epic Games\\UE_5.5" + } + } + ] + }, + "launch": { + "version": "0.2.0", + "configurations": [ + { + "name": "Launch MyProject (Debug)", + "request": "launch", + "program": "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\Binaries\\Win64\\UnrealGame-Win64-Debug.exe", + "preLaunchTask": "MyProject Win64 Debug Build", + "args": [ + ], + "cwd": "D:\\Epic Games\\UE_5.5", + "stopAtEntry": false, + "console": "integratedTerminal", + "type": "cppvsdbg", + "visualizerFile": "D:\\Epic Games\\UE_5.5\\Engine\\Extras\\VisualStudioDebugging\\Unreal.natvis", + "sourceFileMap": { + "D:\\build\\++UE5\\Sync": "D:\\Epic Games\\UE_5.5" + } + }, + { + "name": "Launch MyProject (DebugGame)", + "request": "launch", + "program": "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\Binaries\\Win64\\UnrealGame-Win64-DebugGame.exe", + "preLaunchTask": "MyProject Win64 DebugGame Build", + "args": [ + ], + "cwd": "D:\\Epic Games\\UE_5.5", + "stopAtEntry": false, + "console": "integratedTerminal", + "type": "cppvsdbg", + "visualizerFile": "D:\\Epic Games\\UE_5.5\\Engine\\Extras\\VisualStudioDebugging\\Unreal.natvis", + "sourceFileMap": { + "D:\\build\\++UE5\\Sync": "D:\\Epic Games\\UE_5.5" + } + }, + { + "name": "Launch MyProject (Development)", + "request": "launch", + "program": "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\Binaries\\Win64\\UnrealGame.exe", + "preLaunchTask": "MyProject Win64 Development Build", + "args": [ + ], + "cwd": "D:\\Epic Games\\UE_5.5", + "stopAtEntry": false, + "console": "integratedTerminal", + "type": "cppvsdbg", + "visualizerFile": "D:\\Epic Games\\UE_5.5\\Engine\\Extras\\VisualStudioDebugging\\Unreal.natvis", + "sourceFileMap": { + "D:\\build\\++UE5\\Sync": "D:\\Epic Games\\UE_5.5" + } + }, + { + "name": "Launch MyProject (Test)", + "request": "launch", + "program": "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\Binaries\\Win64\\UnrealGame-Win64-Test.exe", + "preLaunchTask": "MyProject Win64 Test Build", + "args": [ + ], + "cwd": "D:\\Epic Games\\UE_5.5", + "stopAtEntry": false, + "console": "integratedTerminal", + "type": "cppvsdbg", + "visualizerFile": "D:\\Epic Games\\UE_5.5\\Engine\\Extras\\VisualStudioDebugging\\Unreal.natvis", + "sourceFileMap": { + "D:\\build\\++UE5\\Sync": "D:\\Epic Games\\UE_5.5" + } + }, + { + "name": "Launch MyProject (Shipping)", + "request": "launch", + "program": "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\Binaries\\Win64\\UnrealGame-Win64-Shipping.exe", + "preLaunchTask": "MyProject Win64 Shipping Build", + "args": [ + ], + "cwd": "D:\\Epic Games\\UE_5.5", + "stopAtEntry": false, + "console": "integratedTerminal", + "type": "cppvsdbg", + "visualizerFile": "D:\\Epic Games\\UE_5.5\\Engine\\Extras\\VisualStudioDebugging\\Unreal.natvis", + "sourceFileMap": { + "D:\\build\\++UE5\\Sync": "D:\\Epic Games\\UE_5.5" + } + }, + { + "name": "Launch MyProjectEditor (Debug)", + "request": "launch", + "program": "D:\\Epic Games\\UE_5.5\\Engine\\Binaries\\Win64\\UnrealEditor-Win64-Debug.exe", + "preLaunchTask": "MyProjectEditor Win64 Debug Build", + "args": [ + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject" + ], + "cwd": "D:\\Epic Games\\UE_5.5", + "stopAtEntry": false, + "console": "integratedTerminal", + "type": "cppvsdbg", + "visualizerFile": "D:\\Epic Games\\UE_5.5\\Engine\\Extras\\VisualStudioDebugging\\Unreal.natvis", + "sourceFileMap": { + "D:\\build\\++UE5\\Sync": "D:\\Epic Games\\UE_5.5" + } + }, + { + "name": "Launch MyProjectEditor (DebugGame)", + "request": "launch", + "program": "D:\\Epic Games\\UE_5.5\\Engine\\Binaries\\Win64\\UnrealEditor-Win64-DebugGame.exe", + "preLaunchTask": "MyProjectEditor Win64 DebugGame Build", + "args": [ + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject" + ], + "cwd": "D:\\Epic Games\\UE_5.5", + "stopAtEntry": false, + "console": "integratedTerminal", + "type": "cppvsdbg", + "visualizerFile": "D:\\Epic Games\\UE_5.5\\Engine\\Extras\\VisualStudioDebugging\\Unreal.natvis", + "sourceFileMap": { + "D:\\build\\++UE5\\Sync": "D:\\Epic Games\\UE_5.5" + } + }, + { + "name": "Launch MyProjectEditor (Development)", + "request": "launch", + "program": "D:\\Epic Games\\UE_5.5\\Engine\\Binaries\\Win64\\UnrealEditor.exe", + "preLaunchTask": "MyProjectEditor Win64 Development Build", + "args": [ + "C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject" + ], + "cwd": "D:\\Epic Games\\UE_5.5", + "stopAtEntry": false, + "console": "integratedTerminal", + "type": "cppvsdbg", + "visualizerFile": "D:\\Epic Games\\UE_5.5\\Engine\\Extras\\VisualStudioDebugging\\Unreal.natvis", + "sourceFileMap": { + "D:\\build\\++UE5\\Sync": "D:\\Epic Games\\UE_5.5" + } + }, + { + "name": "Generate Project Files", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "UnrealBuildTool Win64 Development Build", + "program": "D:\\Epic Games\\UE_5.5\\Engine\\Build\\BatchFiles\\RunUBT.bat", + "args": [ + "-projectfiles", + "-vscode", + "-project=C:\\Users\\wonky\\Documents\\Unreal Projects\\MyProject\\MyProject.uproject", + "-game", + "-engine", + "-dotnet" + ], + "env": { + "PATH": "D:\\Epic Games\\UE_5.5\\Engine\\Binaries\\ThirdParty\\DotNet\\8.0.300\\win-x64;${env:PATH}", + "DOTNET_ROOT": "D:\\Epic Games\\UE_5.5\\Engine\\Binaries\\ThirdParty\\DotNet\\8.0.300\\win-x64", + "DOTNET_HOST_PATH": "D:\\Epic Games\\UE_5.5\\Engine\\Binaries\\ThirdParty\\DotNet\\8.0.300\\win-x64\\dotnet.exe", + "DOTNET_MULTILEVEL_LOOKUP": "0", + "DOTNET_ROLL_FORWARD": "LatestMajor" + }, + "console": "integratedTerminal", + "stopAtEntry": false, + "cwd": "D:\\Epic Games\\UE_5.5" + } + ] + } +} diff --git a/MyProject.uproject b/MyProject.uproject index 41b106c..ed5a51b 100644 --- a/MyProject.uproject +++ b/MyProject.uproject @@ -7,7 +7,10 @@ { "Name": "MyProject", "Type": "Runtime", - "LoadingPhase": "Default" + "LoadingPhase": "Default", + "AdditionalDependencies": [ + "UMG" + ] } ], "Plugins": [ diff --git a/Source/MyProject/Private/MyUserWidget.cpp b/Source/MyProject/Private/MyUserWidget.cpp new file mode 100644 index 0000000..c8a2c9c --- /dev/null +++ b/Source/MyProject/Private/MyUserWidget.cpp @@ -0,0 +1,9 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "MyUserWidget.h" + +void UMyUserWidget::NativeOnInitialized() { + + OpIdTextBlock->SetText(FText::FromString("testo6667")); +} \ No newline at end of file diff --git a/Source/MyProject/Public/MyUserWidget.h b/Source/MyProject/Public/MyUserWidget.h new file mode 100644 index 0000000..6ee8229 --- /dev/null +++ b/Source/MyProject/Public/MyUserWidget.h @@ -0,0 +1,22 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "Blueprint/UserWidget.h" +#include +#include "MyUserWidget.generated.h" + + +/** + * + */ +UCLASS() +class MYPROJECT_API UMyUserWidget : public UUserWidget +{ + GENERATED_BODY() + + UPROPERTY(meta=(BindWidget)) + UTextBlock * OpIdTextBlock; + void NativeOnInitialized() override; +};