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

#if !UNITY_EDITOR && UNITY_ANDROID
            if (logcatListener != null)
            {
                logcatListener.Stop();
            }
#endif
        }
Пример #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;
        }
Пример #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" );
		}
Пример #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");
        }