Version: 2023.1

LocationInfo

struct in UnityEngine

切换到手册

描述

描述设备位置的结构。

变量

altitudeGeographical device location altitude in meters.
horizontalAccuracyHorizontal accuracy radius of the location in meters.
latitude设备位置地理纬度。
longitudeGeographical device location longitude.
timestampTimestamp (in milliseconds from 1970) of when location data was last updated.
verticalAccuracyVertical accuracy radius of the location in meters.