Author Topic: NGUI is great.... almost  (Read 11271 times)

damocles

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
NGUI is great.... almost
« on: February 10, 2013, 05:35:54 AM »
So I've been playing around with NGUI, and most of the features are great - they work great and it really feels like a quality product.  All except for one feature, which feels like a massive glaring omission in quality - the Input field.  This is really subpar and not worthy of the title 'next gen'.  In my opinion, any next gen GUI input field should have the following:

  • Ability to navigate the caret position using cursor keys
  • Ability to change caret position via mouse click events
  • Ability to select, copy, paste, and delete areas of text
  • A graphical caret, with blinking/pulsing. NOT just a character stuck on the end of the text

These are features that have existed in most OS GUIs for nearly twenty years, and are features any player will expect when they click into a text field to start typing.  When they find they can't perform the most basic of text-field standards they will immediately associate that lack of quality with the game they are playing.

Sorry if this comes across harsh, but I really like NGUI and think it's great, and it would be near perfect if you could bring the input fields into the 21st century.  Do you have plans to implement any of these features in the near future?

PS if any of these features are already in NGUI and it's just my stupidity for not seeing them, then apologies.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI is great.... almost
« Reply #1 on: February 10, 2013, 10:47:06 PM »
Input field is severely limited by what Unity exposes to us tool devs -- which in this case, isn't much.

damocles

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: NGUI is great.... almost
« Reply #2 on: February 11, 2013, 03:52:49 AM »
You can get mouse events and keyboard events, what more do you need to create an input field?

ryan

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 90
    • View Profile
Re: NGUI is great.... almost
« Reply #3 on: February 11, 2013, 04:54:11 PM »
I know Michael has commented on the lack of access to the system's copy/paste buffer in the past, which is definitely a hindrance, but I think the other three features listed would be a big plus on PC/Mac, and should be possible.  Fortunately it's less of an issue on iOS, where the native keyboard popup handles that functionality for you.

damocles

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: NGUI is great.... almost
« Reply #4 on: February 12, 2013, 04:18:54 AM »
For a simple input field you don't even need a clipboard, you can simply saved copied text into a string.  I wouldn't expect NGUI to make contents available on the system clipboard, that's something for individual devs to add if they desire it.

Although admittedly, pasting from the system clipboard would be nice, but yeah - a major pain in a multi-platform engine like Unity.

tonyM

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 24
    • View Profile
Re: NGUI is great.... almost
« Reply #5 on: August 05, 2013, 03:44:19 PM »

RobBrooks

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 19
    • View Profile
Re: NGUI is great.... almost
« Reply #6 on: May 01, 2015, 11:17:14 AM »

Did this one ever get added?

"Ability to change caret position via mouse click events"

It's just that I've had a request to make that happen.... :/

Thanks in advance.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI is great.... almost
« Reply #7 on: May 02, 2015, 09:57:48 PM »
Ages ago, yeah.

RobBrooks

  • Newbie
  • *
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 19
    • View Profile
Re: NGUI is great.... almost
« Reply #8 on: May 05, 2015, 08:34:03 AM »
Thanks Aren,

We're right at the end of a project so I'm not sure that making the necessary update just for this feature is going to fly, but thanks for the headsup in any case.