Trying to reference a file from within a plugin’s content folder within some C++ but I cannot figure it out.
Some of my attempts are as shown below
static ConstructorHelpers::FObjectFinder<UClass> testObj(TEXT("Blueprint '/ExamplePlugin/Content/ExampleWidget.uasset'"));
FStringClassReference test = IPluginManager::Get().FindPlugin(TEXT("ExamplePlugin"))->GetContentDir() / TEXT("ExampleWidget.ExampleWidget");
Can anyone point me in the right direction?