for anyone searching for the C++ solution like i was, here it is:
bool ActorIsBP = false;
if (UBlueprintGeneratedClass* BlueprintGeneratedClass = Cast<UBlueprintGeneratedClass>(Actor->GetClass()))
{
ActorIsBP = true;
}
for anyone searching for the C++ solution like i was, here it is:
bool ActorIsBP = false;
if (UBlueprintGeneratedClass* BlueprintGeneratedClass = Cast<UBlueprintGeneratedClass>(Actor->GetClass()))
{
ActorIsBP = true;
}