You could do it like this:
if (UIntProperty* IntProperty = Cast<UIntProperty>(Property))
{
int32 Value = IntProperty->GetSignedIntPropertyValue(Property->ContainerPtrToValuePtr<int32>(Obj));
SetIntProperty(Property->GetName(), Value);
}
You could do it like this:
if (UIntProperty* IntProperty = Cast<UIntProperty>(Property))
{
int32 Value = IntProperty->GetSignedIntPropertyValue(Property->ContainerPtrToValuePtr<int32>(Obj));
SetIntProperty(Property->GetName(), Value);
}