This is what i have so far but i don’t know how to save the debug log to a variable, any ideas? I’m using C#
using UnityEngine;
using System.Collections;
public class NewBehaviourScript : MonoBehaviour {
private string theDebugLog = "the log file here? How do i do that?";
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnGUI () {
GUI.Label (new Rect (0,0,100,50), theDebugLog);
}
}