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

Pages: [1]
1
NGUI 3 Support / Re: UpdateManager.Coroutine slows down game
« on: October 20, 2013, 07:00:26 PM »
Well, true to my user name I once again look like a dumb dumb. I am utilizing a draggable panel I copied a long time ago and totally forgot about. When I looked in the profiler at what object was utilizing the script it said N/A which made me think it was being referenced in another script in a way I couldn't figure out. Thank you for the help!! You've built a incredible tool and are spot on once again in diagnosing the issue!

2
NGUI 3 Support / UpdateManager.Coroutine slows down game
« on: October 20, 2013, 05:54:17 PM »
Hi, this post is for ArenMook or anyone with an extensive knowledge of NGUI.  I'm using NGUI to create a pretty complex UI that contains dozens of panels.  What is really interesting is that the whole application would slow WAY down when enough panels were added to the program.  Using Profiler I determined that the culprit was something called UpdateManager.Coroutine.  So...  I went to NGUI's UpdateManager.cs and commented out the following:

void Start ()
   {
      if (Application.isPlaying)
      {
         mTime = Time.realtimeSinceStartup;
   ->      //StartCoroutine(CoroutineFunction());
      }
   }

This alleviated the problem but I would like to know a.) what UpdateManager is used for and b.) if I have screwed anything up in the background by doing this.

3
NGUI 3 Support / Re: Atlases not working
« on: June 17, 2013, 02:31:43 PM »
Here's what happens if you delete the wood only, every other texture in the atlas is there

4
NGUI 3 Support / Re: Atlases not working
« on: June 17, 2013, 02:26:21 PM »
attached is the NGUI wooden atlas with only a few components deleted

5
NGUI 3 Support / Re: Atlases not working
« on: June 17, 2013, 02:23:49 PM »
I am going to go off the example atlases as this is easier to identify what's going on. So if I delete the flags everything is okay. But if I delete the screw or the checkmark everything except the NGUI logo and the wooden panel turns white.

6
NGUI 3 Support / Atlases not working
« on: June 17, 2013, 02:21:03 PM »
What is up with the atlas maker tool? I can't delete or add atlases. I tried to add three more textures to an atlas and all my textures were destroyed.

So I went to the wooden atlas and tried to delete the largest texture, the wood plank, and even the example atlases are doing the same, what gives?

7
NGUI 3 Support / Scrollbar w/ clipping help
« on: January 29, 2013, 11:54:23 PM »
I recently purchased NGUI through the assets store in Unity and I have to say it's an incredible product. However I am currently stumped when dealing scrollbars. I currently have a unity scene setup with two scrollbars. One is vertical and is handling one panel and another is horizontal and is handling another panel, both are equipped with hard clipping. The vertical one I put together first and it drags really well. However, I can't seem to position the grid up against a line. It seems to be adding a little cushion on the top Y and bottom Y. When I try and reset the position of where the scroll bars 0 value is it resets the value to 1.742827e-07 when I play the scene. Other than that it works pretty close to the example scene.

The horizontal scroll I setup is worse. I have been trying for a while to get it to work and I have had very little luck. I can create the scroll bar and setup the draggable panels. However, no matter what I do whenever I try and use the scrollbar it also moves the pink clipping window along with the contents of the grid.

Any help on either front would be huge. I'm sure I'm doing something wrong, I just can't seem to put my finger on it. Thanks in advance!

Pages: [1]