private void OnDisable()
        {
            // Stop receiving debug entries
            Application.logMessageReceived -= ReceivedLog;

#if !UNITY_EDITOR && UNITY_ANDROID
            if (logcatListener != null)
            {
                logcatListener.Stop();
            }
#endif
        }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 4
0
		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" );
		}
Exemplo n.º 5
0
        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");
        }