Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to create a android game with unity3d using proximity sensor an I don't know how to access that sensor with java script

share|improve this question

There is the GyroDroid (at the time of writing, costs 35$), which enables access to "every single sensor of your Android".

However, I guess you can try to find how to access Android's sensors using mono, if that is the target platform for Unity's Android games, and apply that to your Unity project.

share|improve this answer
thanks a lot and the demo is great – Noel Yahan Oct 7 '12 at 18:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.