大佬的出品,这个界面见过很多次
自己实践了一遍,很多数据不知道原理,初步代码如下:
IEnumerator AnalyseSingleFx(GameObject fxObj,float fxLoadTime, string fxPath)
{
var report =new EffectPerformance();
reports.Add(report);
report.Path = fxPath;
System.GC.Collect();
AsyncOperation ao = Resources.UnloadUnusedAssets();
yield return ao;
yield return new WaitForEndOfFrame();
//加载
float t1 = 0;
// float t1 = Time.realtimeSinceStartup;
// //GameObject fxObj = null;
// //var fxRes = App loadobjec