Merge branch 'binding_generator_doc_fixes' of git://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-binding_generator_doc_fixes
This commit is contained in:
@@ -745,7 +745,7 @@ API_ENUM() enum class KeyboardKeys
|
||||
LeftBracket = 0xDB,
|
||||
|
||||
/// <summary>
|
||||
/// Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard the '\\|' key
|
||||
/// Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard the '\|' key
|
||||
/// </summary>
|
||||
Backslash = 0xDC,
|
||||
|
||||
|
||||
@@ -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