private void OnDisable() { // Stop receiving debug entries Application.logMessageReceived -= ReceivedLog; #if !UNITY_EDITOR && UNITY_ANDROID if (logcatListener != null) { logcatListener.Stop(); } #endif }
void OnDisable() { // Stop receiving debug entries Application.logMessageReceived -= ReceivedLog; if (logcatListener != null) { logcatListener.Stop(); } // Stop receiving commands commandInputField.onValidateInput -= OnValidateCommand; }
private void OnDisable() { // Stop receiving debug entries Application.logMessageReceived -= ReceivedLog; #if !UNITY_EDITOR && UNITY_ANDROID if (logcatListener != null) { logcatListener.Stop(); } #endif // Stop receiving commands commandInputField.onValidateInput -= OnValidateCommand; }
private void OnDisable() { if( instance != this ) return; // Stop receiving debug entries Application.logMessageReceived -= ReceivedLog; #if !UNITY_EDITOR && UNITY_ANDROID if( logcatListener != null ) logcatListener.Stop(); #endif // Stop receiving commands commandInputField.onValidateInput -= OnValidateCommand; DebugLogConsole.RemoveCommand( "save_logs" ); }
private void OnDisable() { if (Instance != this) { return; } // Stop receiving debug entries Application.logMessageReceivedThreaded -= ReceivedLog; #if !UNITY_EDITOR && UNITY_ANDROID if (logcatListener != null) { logcatListener.Stop(); } #endif DebugLogConsole.RemoveCommand("save_logs"); }