Playmaker Forum
PlayMaker Help & Tips => Android Help => Topic started by: divertoso on April 19, 2013, 03:43:52 PM
-
hi guys
I used this script:
#pragma strict
function Start () {
}
function Update () {
if (Input.GetKeyDown(KeyCode.Escape))
Application.Quit();
}
(now look the image attachmented)
And it work's when i pressed the button nº 3 on samsung galaxy S, the application quit.
Now i wanna to use the Get Key Down action, so i supposed that button is the escape, it's right?
My other doubt is: what key is nº 2?
the button nº2 is equal button 5 and 8 ?? (of another phones?)
tks
-
Hi,
you should ask this question on the unity forum and UA, you will have more chance to get some answers as this is really a unity question, playmaker will happily listen to any key that unity exposes, but I am not sure how it relates to your cases indeed.
bye,
Jean
-
I tested this and it works on galaxy note 2