I’m trying to make the billboard text string break on a verse code. Even if I write the escape sequence (?) “\n” in the example code in the official documentation, the line break doesn’t occur. How can I write it to make the line break?
It works for me, for example “Holo\nTwisters” shows as
Holo
Twisters
since I have the billboard set to center alignment.
Thank you for your reply. Your reply solved the basic usage. I was worried about two sentences, but at the time of the question, I myself did not know the difference between one sentence and multiple sentences. In other words, what I was trying to do was to put ‘\n’ at the end of the first sentence and start a new line for the second sentence, which was not the usage of “putting ‘\n’ in the middle of a sentence (= in the middle of a sentence) to start a new line” as stated in the official documentation. In the first place, I had not realized that billboards seem to have a specification for “displaying one sentence”. Thank you very much btwixer for your reply.
I got line breaks in a TextRenderComponent working by adding “\n” directly in the string, just needed to make sure the text wrapping was off and alignment set properly.