文档

Unity Engine

Unity Engine

timestamp

Timestamp of when the location data was last updated.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.InputLegacyModule
public double timestamp { get; }

Remarks

The unit and epoch of the timestamp value vary per platform:
  • Android, iOS: The timestamp is the number of seconds since the Unix epoch (January 1, 1970, UTC).
  • Web: The timestamp is the number of milliseconds since the Unix epoch (January 1, 1970, UTC).
  • UWP: The timestamp is the number of 100-nanosecond intervals since January 1, 1601 (UTC).