Finding texture2d from a fstring at runtime
Hello, I have a FString variable that has my relative path to the uasset texture. How do I use the variable in getting the utexture2d object?
static ConstructorHelpers::FObjectFinder CrosshairTexObj(TEXT("Texture2D'%s'"), someFStringVariablePath);
EDIT: Looks like that code above is just for construct. Is there something similar for runtime?
I found the solution here:
answered Dec 21 '18 at 09:58 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here