i get displayName. and show game window.
but, cant use CR LF.
How to use CR LF on displayName.
thanks.
i get displayName. and show game window.
but, cant use CR LF.
How to use CR LF on displayName.
thanks.
Did you add the “\r\n” notation into the display name where it needs to start a new line? For instance, "Line1\r\nLine2", or just “Line1\nLine2”.
i tried it.
but, show string "Line1\nLine2".
i want...
"Line1"
"Line2"
Would you please share the related code for us to investigate? I am using UnityEngine.UI.Text to display the name:
text.text = "Line1\nLine2";
And it works fine.
using TMPro;
titleText.text = PlayFabManager.instance.characterCatalog.Find((x)=> x.ItemId == gachaId).DisplayName
2 People are following this question.