Beispiel #1
0
 /// <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);
 }
Beispiel #2
0
 private void Update()
 {
     DataTracer.UpdateLoadSaveFrameData(this);
 }