AddLineBreaks(Markup.MarkupParseResult)

Method in LineView

Summary

Inserts TextMeshPro line break markup in a line where Yarn line break attributes appear.

public static string AddLineBreaks(Markup.MarkupParseResult line)

Parameters

Name
Description

The line containing Yarn line break attributes.

Returns

A string containing TextMeshPro <br/> markers where Yarn [br/] attributes appear.

Last updated

Was this helpful?