|
|
|
@ -1092,7 +1092,13 @@ TSharedPtr<FJsonObject> UBSettingsSystem::BuildFieldSchema(const FProperty* Prop |
|
|
|
FieldObj->SetStringField(TEXT("type"), TypeStr); |
|
|
|
|
|
|
|
// Tooltip
|
|
|
|
const FString Tooltip = Prop->GetMetaData(TEXT("ToolTip")); |
|
|
|
FString Tooltip; |
|
|
|
#if WITH_EDITOR |
|
|
|
Tooltip = Prop->GetMetaData(TEXT("ToolTip")); |
|
|
|
#else |
|
|
|
Tooltip = ""; |
|
|
|
#endif |
|
|
|
|
|
|
|
if (!Tooltip.IsEmpty()) |
|
|
|
{ |
|
|
|
FieldObj->SetStringField(TEXT("tooltip"), Tooltip); |
|
|
|
@ -1356,7 +1362,7 @@ bool UBSettingsSystem::StructToJsonSchema(const UStruct* StructType, const FStri |
|
|
|
|
|
|
|
bool UBSettingsSystem::ExportStructToJsonSchema(int32& StructInstance, const FString& ConfigName, const FString& SavedSubFolder) |
|
|
|
{ |
|
|
|
// Wird bei CustomThunk nicht direkt genutzt (Blueprint geht über execExportStructToJsonSchema)
|
|
|
|
// Wird bei CustomThunk nicht direkt genutzt (Blueprint geht �ber execExportStructToJsonSchema)
|
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
|