ドキュメント

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).