- Home /
Question by
Le_Tai · Jul 13, 2015 at 12:47 PM ·
androidscripting problemcompasssensor
Why I can not enable compass (I gave it time to warm-up)?
IEnumerator comPass()
{
while(!Input.compass.enabled)
{
Input.compass.enabled=true;
yield return new WaitForSeconds(1);
print (Input.compass.enabled);
}
}
It not enable even when Im build it to an Android device
Comment
Your answer
Follow this Question
Related Questions
Access Magnetometer Compass values via Unity Remote 4 for Android 1 Answer
Controls work fine on PC, but not on android phone. 0 Answers
GPS for Unity Android 1 Answer
Building on android. 1 Answer