Hey there,
I've created a simple action to pass a string for new text to TextMesh Pro, and I'm having issues with "\n" in the string:
say the string is "hello\nthere"
textmeshPro.text = stringToUse.Value;
displays:
hello\nthere
but if I change the action
textmeshPro.text = "hello\nthere";
displays:
hello
there
I've also tried
string messageToTry = stringToUse.Value;
textmeshPro.text = messageToTry;
displays:
hello\nthere
Why the difference when the string contents are exactly the same?
Thanks,
Steven