Below is the code I am using in this new class:
CheckIfFileExhists.h CODE:
#pragma once
#include "Kismet/BlueprintFunctionLibrary.h"
#include "CheckIfFileExhists.generated.h"
UCLASS()
class UCheckIfFileExhists : public UBlueprintFunctionLibrary
{
GENERATED_UCLASS_BODY()
UFUNCTION(BlueprintCallable, Category = "Wrapper")
static bool MyFileExists(const FString & InPath);
};
CheckIfFileExhists.ccp CODE:
#include "FPS_Start.h"
#include "CheckIfFileExhists.h"
bool MyFileExists(const FString & InPath) {
return FPaths::FileExists(InPath);
}
This is the last piece in a 10 month project, and I really appreciate your help! I will be happy to throw you a couple $$ on PayPal for your help in getting this to work.
Thanks again!