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

Pages: [1]
1
NGUI 3 Support / Re: Web Player - NGUI error
« on: June 06, 2014, 12:50:18 PM »
To fix this we created a new UI Root and copied over all the things that broke in the old UI Root and it fixed the problem. This did however take us a few days to figure out since we couldn't find anything on it online.

2
NGUI 3 Support / Re: Web Player - NGUI error
« on: June 06, 2014, 08:20:50 AM »
I have checked the transforms in my scene too are all at 0 and the scale is at 1 but the moment I add a label with text to a child object of the UICamera in the UI Root I get this:

transform.position assign attempt for 'moolboran128_0' is not valid. Input position is { -Infinity, Infinity, 0.000000 }.
UnityEngine.Transform:set_position(Vector3)
UIPanel:UpdateDrawCalls() (at Assets/NGUI/Scripts/UI/UIPanel.cs:1369)
UIPanel:LateUpdate() (at Assets/NGUI/Scripts/UI/UIPanel.cs:1128)

I also get it with the other fonts I am using too.

However, this does not happen with instances outside the UI Root. I can use labels on any non-UI Root objects and it will work fine.

Even deleting the old labels and adding new ones doesn't solve it.

This only started happening after upgrading from an older version of NGUI to 3.6.2.

3
Great! I'll try that. Thank you for your help. :3

4
Hi,
Thank you so much to those who helped so far. :3 I have google'd around a lot but not yet found anything to answer my questions, so I found I must ask here.

Question 1:
How do I make a pop-up block the buttons behind it so that they cannot be clicked? I want it so that the buttons on the pop-up message are the only clickable buttons and the ones below it are not clickable. I am using a "fill" object with an UIStretch that fills the whole screen on top of the other buttons you are not supposed to click together with Z-indexing it way in front of them, but it does not work. I have checked the button collision detectors and they are behind on Z.

Question 2:
How do I add input delay to a button? I want it so that you can only click a button once every X seconds. (This should be easy, but I am new to this...)


Thank you all very much in advance for helping out. :3

5
NGUI 3 Support / Re: More Null Reference Issues
« on: May 07, 2013, 08:10:22 AM »
Thank you for your reply. This is currently the biggest issue for my game now. We cannot launch in its current state. I will be awaiting the update, then. Please let us know when it hits. :3

6
NGUI 3 Support / Re: More Null Reference Issues
« on: May 05, 2013, 12:49:12 PM »
Thank you for your response, but where is 2.6.* available from? My team can't find it.

7
NGUI 3 Support / Re: More Null Reference Issues
« on: May 04, 2013, 11:28:21 AM »
I also do not have a workaround to this. Please help. :'(

8
NGUI 3 Support / Setting radioButtonRoot on prefabs?
« on: April 16, 2013, 04:47:32 PM »
Greetings. (Before you judge me I have searched for this and found only the same chapter in the tutorial every time, which sadly is of no help for me.)

In my latest project I seem to run into a bit of a problem related to radio buttons:

The problem is that the menu options in the list are prefabs that are serialised and loaded on runtime (or "clones" as it says in the game), and are not in the hierarchy.

I cannot set the radioButtonRoot in the script as it always resets to "None (transform)" when I start the game, and I cannot for the life of me figure out how I can set this to the parent panel I want to.

As you might already have figured I am very new to NGUI and Unity so I hope this will have a simple solution.

Thank you very much in advance for helping out. :3

Pages: [1]