Merge branch 'binding_generator_doc_fixes' of git://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-binding_generator_doc_fixes
This commit is contained in:
@@ -471,9 +471,8 @@ namespace Flax.Build.Bindings
|
||||
if (comment[i - 1].StartsWith("/// "))
|
||||
tooltip += " " + comment[i - 1].Substring(4);
|
||||
}
|
||||
if (tooltip.IndexOf('\"') != -1)
|
||||
tooltip = tooltip.Replace("\"", "\\\"");
|
||||
contents.Append(indent).Append("[Tooltip(\"").Append(tooltip).Append("\")]").AppendLine();
|
||||
tooltip = tooltip.Replace("\"", "\"\"");
|
||||
contents.Append(indent).Append("[Tooltip(@\"").Append(tooltip).Append("\")]").AppendLine();
|
||||
}
|
||||
}
|
||||
if (writeDefaultValue)
|
||||
|
||||
Reference in New Issue
Block a user