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