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

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -