StatusManager
public class StatusManager
{
public static StatusManager statusManager;
public static void Log(string status) //laziness
{
if(statusManager != null)
{
statusManager.NewStatus(status);
}
}
public virtual void NewStatus(string status)
{
Debug.Log(status);
Console.WriteLine(status);
//make this do shit in children ;)
}
}
//...
This is my static class to log information quickly. Completely optional if you use it or not. You can see in the NewStatus method it does a debug log and console write, the console write is to help with running on say Linux and headless mode where there is no visual window, just console output