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 UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
Profiler.AddFramesFromFile('mylog.log')