- Home /
This question was
closed Jun 06, 2011 at 08:26 PM by
DaveA.
Question by
DaveA · Jun 03, 2011 at 10:28 PM ·
flagged-for-close
How to access 'hardware' buttons on Android? [solved]
I've seen this, which looked like what I needed: http://forum.unity3d.com/threads/61851-How-to-Use-hardware(H-W)-MENU-KEY
But that doesn't work for me (Nexus 1 and Xoom)
So what's the (best) way to access Home / Menu / Back / Search physical buttons on Android (and/or iPhone)?
Note: I put in a Debug.Log to see if ANY keys are detected, none are:
function Update()
{
if (Input.anyKey)
{
Debug.Log("some key pressed"); // this never happens
}
}
Closed: unrelated problem caused script to disable.
Comment
Follow this Question
Related Questions
unity3d read data from PostgreSQL 0 Answers
From C# to C for the S2 game engine 4 Answers
Animation or Programming 1 Answer
How do i loop my script so it continuously does what is inside it? 2 Answers
Ai Can it be smarter? 1 Answer