Playmaker Forum
PlayMaker Help & Tips => Android Help => Topic started by: Groo Gadgets on August 23, 2012, 10:48:12 PM
-
Hey guys,
I just recently picked up a Nexus 7 for mobile development and was curious if it were possible to utilize the persistent "back button" on the device using PlayMaker.
I found out that Unity maps the Escape key to the back button on Android devices. So if you want to access the back button in your Android app all you have to do is use the "Get Key Down" action and point it to the Escape key.
http://answers.unity3d.com/questions/25535/android-back-button-event.html (http://answers.unity3d.com/questions/25535/android-back-button-event.html)
Nice to know that we don't require a custom action to get this working :-)
Cheers,
Simon
-
I can confirm this works on Samsung Galaxy S/S3 to.
-
Check the following out too, it covers resuming from an interrupt, ie when a phone call stops the game.
http://hutonggames.com/playmakerforum/index.php?topic=1591.0 (http://hutonggames.com/playmakerforum/index.php?topic=1591.0)
-
First I thought it does not work on Samsung Galaxy 4S mini but than it worked, built onto device.
It just does not work when testing in Unity Remote.
Br,
szomaza
-
i does not work on unity remote, but you can just press the escape key to have the same effect
Greetings,
Dino