I’ve tested this in standalone, and not using single process, and using pie
UClass* UMyBlueprintFunctionLibrary::GetObjectParentClass(UObject* Object)
{
return Object->GetClass()->GetSuperClass();
}
UClass * UMyBlueprintFunctionLibrary::GetParentClass(UClass* Class)
{
return Class->GetSuperClass();
}
My usage, drag n drop swap between widgets, if widget is child of other widgets parent class.
Aka Left leg can swap with Right leg because they are both children of Leg_Base