using System;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine;
DateTime prev = DateTime.Now;
double[] difs = new double[1000];
int count = 0;
var now = DateTime.Now;
var dif = now - prev;
prev = now;
if (count < difs.Length)
{
difs[count] = dif.TotalMilliseconds;
}
else
Debug.Log("DIFS==================");
for (int i = 0; i < difs.Length; i++)
Debug.Log(difs[i]+"\n");
count++;