Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Fat Pug Studio on June 15, 2019, 08:56:02 AM

Title: How to add a line break via build string action[SOLVED]
Post by: Fat Pug Studio on June 15, 2019, 08:56:02 AM
Hi guys, is this even possible? I need to put the break in the built string so i can display it in multiple lines via textmeshpro.
Title: Re: How to add a line break via build string action
Post by: jeanfabre on June 17, 2019, 04:34:48 AM
Hi,

 you need to put the right character, which is tricky to do without hacking around from a text editor,

 it's easier to use the action GetNewlineCharacter, save it in a global or a local and then use the action BuildString or other similar actions to create lines.

(https://i.imgur.com/QY4lCCK.png)

Bye,

 Jean
Title: Re: How to add a line break via build string action
Post by: Fat Pug Studio on June 18, 2019, 12:49:43 AM
Thanks, i'll check it out :)
Title: Re: How to add a line break via build string action[SOLVED]
Post by: orenfridman on November 20, 2021, 07:19:00 AM
Test with Unity 2020.3.22f1 Working Perfect!