private void OnEnable() { setupLogging(); if (EditorApplication.isPlayingOrWillChangePlaymode) { setupPlaymodeLogging(); } if (filterState == null) { filterState = new FilterState(); filterState.Load(); } EditorApplication.update += updateHandler; }
private void OnEnable() { setupLogging(); if (EditorApplication.isPlayingOrWillChangePlaymode) { setupPlaymodeLogging(); } if (filterState == null) { filterState = new FilterState(); filterState.Load(); } EditorApplication.update += updateHandler; }