public void Unhook() { if (UnityDebug.unityLogger.logHandler != this) { throw new InvalidOperationException($"{nameof(ExportConfigurationLogHandler)} is not currently hooked into the logger."); } UnityDebug.unityLogger.logHandler = m_HookedLogger; m_HookedLogger = null; m_JournalData.Dispose(); }
public new void TearDown() => m_JournalData.Dispose();