The heading in degrees relative to the geographic North Pole. (Read Only)
Input.location.Start(). (Read Only)function Update() {
// Orient an object to point northward.
transform.rotation = Quaternion.Euler(0, -Input.compass.trueHeading, 0);
}