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

Pages: [1]
1
I'm trying to have text appear over time within an UILabel, but nothing is showing up onscreen when I run the corroutine. It works outside of the corroutine, but not within.

  1. string dialogue = "test";
  2. for(int i = 0; i < dialogue.Length; i++)
  3.                 {
  4.                         speechLoc.text += dialogue[i];
  5.                         yield return new WaitForSeconds(speed/dialogue.Length);
  6.                 }

Not sure if this how you do it properly, but it doesn't seem to be working.

2
NGUI 3 Support / using WorldToScreenPoint to move a button to position
« on: January 23, 2014, 04:53:45 AM »
I have an object in world space at (-95, 0, 16) and I'd like to move a button on screen to be above that object during runtime. However when I do this the button is quite a bit off. It seems like WorldToScreen point is return the pixels from the edge of the screen (which I understand). I just don't quite get how to move the NGUI button over the exact position of the object.

3
NGUI 3 Support / Re: UIPanel Clipping Issues
« on: December 08, 2013, 04:49:44 PM »
I just realized that the clipped view panel has these warnings on it. The shaders are all Unlit/Transparent Colored so I don't know why its giving me this warning

http://imgur.com/9evUnfj

4
NGUI 3 Support / UIPanel Clipping Issues
« on: December 07, 2013, 09:48:00 PM »
I'm having an issue where the objects in a UIGrid show up for about 1.5 seconds before disappearing. They are supposed be clipping using a vertical scroll bar. Any ideas why they would show up for a second or so and then disappear?

5
NGUI 3 Support / Moving around items in a list
« on: September 21, 2013, 01:45:00 PM »
Say I have list of objects in a UIGrid and they are within a UIDraggablePanel. How could I make it to where I could take one of the objects in the UIGrid and drag and drop it somewhere else in the grid?

Like if I had a Grid of 10 cards in a vertical row and I clicked 1 and dragged it down, and the others auto-moved up or down depending on where the I dropped the card back in.

Thanks

6
NGUI 3 Support / Scaling the UI for a draggable window
« on: May 20, 2013, 01:36:31 PM »
I'm trying to figure out how to allow the UI to scale for any window size. I've set everything up in the editor for 1920x1080, but when I play it on a different resolution it doesn't scale. I have the latest version of Unity and NGUI. I'm using the PixelPerfect scaling. If anyone could give me some input as to what I should be looking for that would be awesome. Thanks!

Pages: [1]