Displays the recorded profiledata in the profiler.
Profiler.AddFramesFromFile ("mylog.log");
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { Profiler.AddFramesFromFile("mylog.log"); } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: Profiler.AddFramesFromFile('mylog.log')