1
NGUI 3 Support / Re: Having trouble with \n
« on: October 25, 2014, 11:22:11 PM »
searched and searched the forums but still confused. here's another thread about this but I still don't understand how to make this work through playmaker's "set property" I still see \n every time. i don't understand how to implement this code Aremook posted. I might just want to use UItextlist but I'm also not sure how that accepts things like line breaks.
http://www.tasharen.com/forum/index.php?topic=5041.msg24130#msg24130
public UILabel myUILabel;
public string myText;
void Start ()
{
myUILabel.text = myText.Replace("\\n", "\n");
}
http://www.tasharen.com/forum/index.php?topic=5041.msg24130#msg24130
public UILabel myUILabel;
public string myText;
void Start ()
{
myUILabel.text = myText.Replace("\\n", "\n");
}
