Displays the recorded profiledata in the profiler.
Use the name of the text file, ".data" will be appended
Profiler.AddFramesFromFile ("mylog.log");
using UnityEngine;using System.Collections;public class example : MonoBehaviour { void Example() { Profiler.AddFramesFromFile("mylog.log"); }}
import UnityEngineimport System.Collectionsclass example(MonoBehaviour): def Example(): Profiler.AddFramesFromFile('mylog.log')