Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: breakmachine on October 14, 2014, 11:24:53 AM

Title: Symbols not supported in UIInput?
Post by: breakmachine on October 14, 2014, 11:24:53 AM
I see you're setting label.supportEncoding = false in the Init function of UIInput. Is there a reason for this?
Title: Re: Symbols not supported in UIInput?
Post by: ArenMook on October 14, 2014, 03:21:47 PM
Because the UIInput has too many work-arounds as it is to have to worry about handling symbols as you type. That's pretty much the only reason. :)
Title: Re: Symbols not supported in UIInput?
Post by: breakmachine on October 14, 2014, 03:56:05 PM
I just disabled that line and it seems to work just fine on our Android devices.

We needed emojis in our game so I made a batch script that adds symbols for all emojis to a font and maps them to their respective letter in unicode. Pretty sleek :D
Title: Re: Symbols not supported in UIInput?
Post by: liversmudge on October 26, 2014, 11:22:57 AM
Could you copy the script here, I have a need for emoji too.

TBH I have not worked out what unicode chars to put into NGUI.

All tutorials I have found just have :) etc rather than the unicode response from an iphone.

Thanks