Hello,
Is there a method somewhere that can help me convert a full path
D:\LearningThunder\games\LineageNext\l2next-utils\Plugins\L2Next_Commons\Content\test
That I choose from directory browser in my UE4 plugin. (this is the path to search the assets in)
But actually my assets are located in this path (used copy refference in asset browser)
**L2Next_Commons/test/**1-1_2.1-1_2
So later if I would need to do this:
FStringAssetReference DiffuseAssetPath(MyPath);
UTexture* DiffuseTexture = Cast<UTexture>(DiffuseAssetPath.TryLoad());
MyPath should be using L2Next_Commons/test/ + assetname
So in the end:
How to convert this:
D:\LearningThunder\games\LineageNext\l2next-utils\Plugins\L2Next_Commons\Content\test
to this:
L2Next_Commons/test/