Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bobbyk

Pages: [1]
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");
}

2
NGUI 3 Support / Having trouble with \n
« on: October 25, 2014, 07:46:24 PM »
Hello,

I want my labels to have line breaks but when I use \n nothing happens.  Same deal both in the main UILabel script and if I feed it using Playmaker.

Am I doing this wrong?  I'm simply putting something like "Hello how \n are you?" into the field and the outputs looks exactly the same... is that wrong? also tried \\n

This guy was also getting the same results he has a picture attached  http://hutonggames.com/playmakerforum/index.php?topic=4103.msg19243;topicseen#msg19243

3
NGUI 3 Support / Could use a suggestion for a debug with array list..
« on: October 25, 2014, 05:25:25 AM »
Hey there, learning Ngui this week and I've been unsure how best to go about creating my in-game debug variable gui.

I want to list my array of variables and could use a suggestion for best practice.  Which script would work best for displaying the array? UITextlist?  I'd be using Arraymaker with Playmaker to generate the array and it would be updating every frame.

thanks much,
-Bobby

Pages: [1]