validation - Unity3d 4.6 beta17 UI Restrict input text to numbers only -
According to the title, is there any way to limit input text to numbers only?
Edit: It seems that the solution will be:
Public input input; Zero Starter () {input.keyboardType = TouchScreenKeyboardType.NumberPad; Input.validation = InputField.Validation.Integer; }
or debug inspector
and more, choose:
Switch the inspector into debug mode, then you can enter a field You can use the keyboard type called and change it to what you want
Comments
Post a Comment