public static void Disable() { isEnable = false; PlayerPrefs.SetInt("remoteLogger", 0); Application.RegisterLogCallback(null); instance.StopAllCoroutines(); Debug.Log("Remote Logger - Disabled"); }
public static void Disable() { isEnable = false; build.debugLevel = BuildSettings.DebugLevel.Release; PlayerPrefs.SetInt("remoteLogger", 0); Application.logMessageReceived -= instance.HandleLog; instance.StopAllCoroutines(); Debug.Log("Remote Logger - Disabled"); }
public static void Disable() { isEnable = false; PlayerPrefs.SetInt("remoteLogger", 0); #if UNITY_5 Application.logMessageReceived -= instance.HandleLog; #else Application.RegisterLogCallback(null); #endif instance.StopAllCoroutines(); Debug.Log("Remote Logger - Disabled"); }