public static void Update() { if (logDelegate != null) { logDelegate(); logDelegate = null; } }
public static void RegisterLogOnMainThread(LogOnMainThread d) { logDelegate = (LogOnMainThread)Delegate.Combine(logDelegate, d); }