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

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.