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

Pages: [1]
1
NGUI 3 Documentation / Re: UILabel
« on: January 27, 2014, 10:54:47 AM »
Hey Aren, Is there anything set up to do Bulleted text?

Thinking I'll parse the lines for the beginning bullet char: '\u2022' and split those lines into a separate indented label, and place the whole listing of the text copy within a table. Is there currently an easier way to get that effect?

Quote
Titled
  • Yea.
  • These are fun
And copy

2
NGUI 3 Support / Re: UIInput Events
« on: January 10, 2014, 03:53:14 PM »
Is there a good way to get an OnDeselect event? Case being the user starts to type, but does not hit enter to submit, I'd like a way to be able to restore the initial text.

Should I just subclass the UIInput and override the SelectionStart and SelectionEnd events to do my editing hooks?

Just going to leave this here for anyone else who's looking for something similar, but you can use the OnSelect(bool) event from UICamera on a script adjacent to the uiInput... yay.

3
NGUI 3 Support / Re: UIInput bugs in 3.0.8f3
« on: January 02, 2014, 11:08:18 AM »
I am seeing the strange chars in the osx build when set to Validation.None

4
NGUI 3 Support / Re: UIInput bugs in 3.0.8f3
« on: January 01, 2014, 11:49:35 PM »
Oh damn. yep, that was it! .ResizeColliders onChange clears that up.

one other other minor extremely edge case:
the caret falls behind the end of the text as it starts to wrap, 1 char per line if you are typing a large string with no spaces. new char's are placed correctly, the caret just show's in the wrong spot since it takes into account the \n's added from wrapping.

I also tend to think that on OSX Command-Return to submit and Return for newline feels nicer when changed to Return for submit, and Shift-Return for newline

overall a HELL of a lot nicer than the previous setup!

5
NGUI 3 Support / Re: UIInput bugs in 3.0.8f3
« on: January 01, 2014, 10:30:58 PM »
I'm seeing the same here in osx with a dynamic Helvetica font, I just worked around with my own validator that is a bit more strict than .none.

The other issue I'm seeing is that for multiline labels, I cannot click to select the caret position or click/drag to select chars from the lower lines

Selecting: http://screencast.com/t/yy5BTHRYZ
Arrow keys while using the default validation: http://screencast.com/t/OY5G8VPDJa2y

There also seems to be something about having to click twice to select text sometimes, but not always.

6
NGUI 3 Support / Re: Oculus Rift
« on: June 20, 2013, 10:12:13 PM »
absolute easiest way is to just place a UICamera on say the RightEye, and then have the ui widgets in 3d space.

Pages: [1]