Ambiera ForumDiscussions, Help and Support. |
|
[ 1 2 ] Page 1 of 2 |
|
|||||
|
Hello, I wish that the Player is able to enter an decimal number like 234.23 into the editbox. But it seems that "." "," "+" "-" doesn't work. I need no math, but only as letters. Any tips? Thanks |
||||
|
Which edit box? |
||||
|
Edit box 2d overlay (behaviors script) |
||||
|
You can use the following code inside the script instead of the existing
This will allow you to use the normal numbers keys in case you need to use numeric pad key you will have to add key codes from 96 to 111 Note that you will have to use \ sign for special characters to appears correctly in the 2D overlay. EDIT: you can use a Boolean value for example in order to let you enter only 1 dot (in case you are for example simulating a calculator) |
||||
|
Hello :-) Thank you very much. Is it possible to post the full script for me, because if I try to copy this part into the script, I get always errors. Sorry, I'm no programmer :-( |
||||
|
Just search for the line if (this.LastOverlayObject != null) and paste that above that line. |
||||
|
Thank you, works :-) |
||||
|
how to player enter manually value,number,passwords etc. in 2d overlay after pubishing game....pleaz pleaz help me. |
||||
|
Hello ajay, Goto this page http://www.ambiera.com/coppercub... Then search for Edit Box and use this script to fulfill your needs |
||||
|
Thanks... techno valley. |
||||
|
Thank you very much... valley working :-) |
||||
|
hiii Thanks but when i published for android app .apk and when install and play app can't get keypad for enter words...pleaz help me pleaz |
||||
|
|
||||
|
Hello Ajay, I don't remember if I've used this plugin for Android or not. I will test it this week end and let your know |
||||
|
Hello Ajay, I don't think the Edit 2D Box is working on Android. I've tested and it wasn't working. May be Niko or someone can confirm. |
[ 1 2 ] Page 1 of 2 |
|