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 - Vaei

Pages: [1]
1
NGUI 3 Support / Re: UIGrid Disables Itself on Activation
« on: January 27, 2014, 08:24:23 AM »
Thank you! I was worried I had run into a bug, turns out as usual it's my lack of knowledge :)

2
NGUI 3 Support / UIGrid Disables Itself on Activation
« on: January 27, 2014, 08:06:40 AM »
Hi,

I am having the server list all available characters by instantiating an NGUI item. These items are entered into the UIGrid, but as soon as the panel containing UIGrid is activated, UIGrid sorts it's contents then turns itself off and can't be re-enabled until next run.

I need it to sort them as they're added... How can I achieve this?

3
Ah.. of course! Thank you

4
Hi there,

I have a loop that generates a button for each instance that I have connected to my server. It's a join button.

What is the proper way to handle this?

I can get the button by:

  1. GameObject button = listing.transform.FindChild("Connect_Button").gameObject;

But of course it wont be stored in an array or anything, which I could do too.

Then I can initialize the UIEventHandler BUT I don't know if I can do this in the loop, or if it has to be in start, or what. AND I need to pass in an argument (the id of the instance) which I'm not sure how to do because they don't take arguments.

Please help :) Thank you.

5
NGUI 3 Support / Generating NGUI from Code - How to align labels?
« on: January 18, 2014, 04:12:00 AM »
Hi,

I have started to create a script that generates labels & (soon) buttons based on how many inputs I have setup in a custom input manager, it is a screen to allow users to change their inputs.

Unfortunately since I can't tell the text to align to the left of the box they are all centred and it looks UGLY. I need them all aligned to the left.

How can I achieve this?

And also, why are dynamic fonts blurry/pixelated?

Pages: [1]