Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: woshihuo12 on August 28, 2015, 10:25:55 PM
-
my game use chinese ttf font. So at IOS, if player can input the ios's expression, so the UILabel will have some problem..
so i want limit the ios's expression, let player can't input the expression.
how can i get that?
very thanks............
-
You'll need to create your own UIInput.onValidate function to reject such characters.
-
i don't the ios expression's code. so i write like this:
private char OnInputValidata(string text, int pos, char ch)
{
if (ch >= 0x0000 && ch <= 0xFFEF) return ch;
return (char)0;
}