TimeStamp.cs 432 B

12345678910111213141516171819
  1. namespace XGame.Framework.Time
  2. {
  3. /// <summary>
  4. /// 时间戳
  5. /// </summary>
  6. public struct TimeStamp
  7. {
  8. /// <summary>
  9. /// UnityEngine.Time.realtimeSinceStartup
  10. /// 单位:秒
  11. /// </summary>
  12. public float realtimeSinceStartup;
  13. /// <summary>
  14. /// 当前日期时间戳
  15. /// 单位:毫秒
  16. /// </summary>
  17. public long timeStamp;
  18. }
  19. }