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

python - Strange behavior using PyQt4's 'pyqtSlot' decorator before another decorator -

c# - UnhandledExceptionMode.ThrowException for AppDomain.UnhandledException -

c# - Process.Kill() returns access denied -