(Sorry about double post, if a mod could merge my other post that would be great!)
Is it possible to pass some "special-character" to create a new line for the EditTime method: font.DrawText? I know that "\n" doesn't work, and neither does anything else I've tried. Anyone know if this is possible?
I wanna do this for example:
this.font.DrawText("Hello \n World",
this.instance.GetBoundingQuad(),
this.properties["Color"],
halign,
this.instance.GetOpacity(),
this.instance.GetAngle(),
(this.properties["Wrapping"] === "Word"),
this.properties["Line height"],
valign);[/code:2v2sf4ih]
Wanted output:
[code:2v2sf4ih]Hello
World[/code:2v2sf4ih]
Received output:
[code:2v2sf4ih]Hello [?] World[/code:2v2sf4ih]
EDIT:
I already know that I can create a new line by writing: & newline &, this is NOT what I'm after. I want to be able to do newline in edit-time, in other words, render a new-line inside the editor (not by pressing F5).
@Ashley mind answering if this is even possible? It all comes down to how the font.DrawText is implemented.