playMaker

Author Topic: How to add a line break via build string action[SOLVED]  (Read 1751 times)

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
How to add a line break via build string action[SOLVED]
« 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.
« Last Edit: June 18, 2019, 12:10:18 PM by jeanfabre »
Available for Playmaker work

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: How to add a line break via build string action
« Reply #1 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.



Bye,

 Jean

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: How to add a line break via build string action
« Reply #2 on: June 18, 2019, 12:49:43 AM »
Thanks, i'll check it out :)
Available for Playmaker work

orenfridman

  • Playmaker Newbie
  • *
  • Posts: 12
Re: How to add a line break via build string action[SOLVED]
« Reply #3 on: November 20, 2021, 07:19:00 AM »
Test with Unity 2020.3.22f1 Working Perfect!