void OnEnable()
        {
            instance       = this;
            wantsMouseMove = true;

            minSize = new Vector2(450, 300);

            _windowHeader = new FSequenceWindowHeader(this);

            _toolbar = new FSequenceWindowToolbar(this);

            _windowRect = new Rect();

            FUtility.LoadPreferences();
        }
Пример #2
0
        void OnEnable()
        {
            instance       = this;
            wantsMouseMove = true;

            minSize = new Vector2(450, 300);

            _windowHeader = new FSequenceWindowHeader(this);

            _toolbar = new FSequenceWindowToolbar(this);

            _windowRect = new Rect();

            FUtility.LoadPreferences();

            EditorApplication.playmodeStateChanged   += OnPlayModeChanged;
            EditorApplication.hierarchyWindowChanged += Refresh;

            Undo.undoRedoPerformed += OnUndo;

            Undo.postprocessModifications += PostProcessModifications;
        }