/// <summary> /// Add a new trace event /// If not tracing, invoke this event immediately /// </summary> /// <param name="e"></param> public void AddTraceEvent(TracedEvent e) { e.Init(); if (invokeEventWhenAdd) { e.Trace(TimeTraceManager.deltaTime); } //Debug.Log("add event: " + e.name + ", t: " + e.time + ", ct: " + time); DataTracer.AddFrameData(e); }
private void Update() { DataTracer.UpdateLoadSaveFrameData(this); }