Ejemplo n.º 1
0
        private void OnEnable()
        {
            setupLogging();
            if (EditorApplication.isPlayingOrWillChangePlaymode)
            {
                setupPlaymodeLogging();
            }

            if (filterState == null)
            {
                filterState = new FilterState();
                filterState.Load();
            }

            EditorApplication.update += updateHandler;
        }