浏览代码

reverted unwanted commit

/manual_capture
Mohsen Kamalzadeh 4 年前
当前提交
e3284768
共有 1 个文件被更改,包括 2 次插入23 次删除
  1. 25
      TestProjects/PerceptionURP/Assets/Rotator.cs

25
TestProjects/PerceptionURP/Assets/Rotator.cs


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++;
}
}
正在加载...
取消
保存