using System.Collections; using System.Collections.Generic; using UnityEngine; using System; public class JCUtil : MonoBehaviour { // Start is called before the first frame update public static long GetTimestamp() { TimeSpan ts = DateTime.Now.ToUniversalTime() - new DateTime(1970, 1, 1); return (long)ts.TotalMilliseconds; } }