protected override void OnDestroy() { base.OnDestroy(); m_clientLogFile = null; Application.logMessageReceived -= OnLogMessageReceived; Application.logMessageReceived -= OnLogMessageReceived; }
public void StartRecording() { if (m_clientLogFile == null) { m_clientLogFile = new ClientLogFile(); Application.logMessageReceived += OnLogMessageReceived; Application.logMessageReceivedThreaded += OnLogMessageReceivedThreaded; } }