Displays the recorded profiledata in the profiler.
Use the name of the text file, ".data" will be appended.
Profiling.Profiler.AddFramesFromFile ("mylog.log");
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { Profiling.Profiler.AddFramesFromFile("mylog.log"); } }
See Also: Profiler.