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: Enter image details here

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

Popular posts from this blog

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

ios - Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc? -