You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Check if a knot contains visible text without using Continue() in Unity #941
Some of my knots are used just to set variables and contain no visible text. And I want to check, before calling Continue(), whether the knot has any non-empty player-visible text.
Any help or insights would be greatly appreciated!
Unfortunately, Continue() will generally return empty lines for various reasons. A knot, for example, cannot be totally null, it will return at least 1 empty line.
Since only the ink will know whether there will be printable text, I use a boolean ink function to return true/false and call it from C# code.
Activity
jakesee commentedon Jul 15, 2025
Unfortunately, Continue() will generally return empty lines for various reasons. A knot, for example, cannot be totally null, it will return at least 1 empty line.
Since only the ink will know whether there will be printable text, I use a boolean ink function to return true/false and call it from C# code.