Fix automatic tooltip generation error

Fixes #265
This commit is contained in:
Wojtek Figat
2021-02-21 19:39:53 +01:00
parent 68b4fdb9c3
commit 2a3003101e

View File

@@ -407,6 +407,7 @@ namespace Flax.Build.Bindings
// Write documentation comment as tooltip
if (comment.Length >= 3 &&
comment[0] == "/// <summary>" &&
comment[1].StartsWith("/// ") &&
comment[2] == "/// </summary>")
{
var tooltip = comment[1].Substring(4);