Exemplo n.º 1
0
        void OnUndo()
        {
#if FLUX_DEBUG
            Debug.Log("undo");
#endif
            _sequenceEditor.OnUndo();

            _sequenceEditor.OpenSequence(_sequenceEditor.GetSequence());
        }
        protected override void Init(FObject obj)
        {
            base.Init(obj);

            if (_sequenceEditor == null)
            {
                _sequenceEditor = FSequenceEditor.CreateInstance <FSequenceEditor>();
                _sequenceEditor.Init((EditorWindow)null);                   // doesn't have a window
                _sequenceEditor.OpenSequence(_evt.Owner.GetComponent <FSequence>());
            }
        }
Exemplo n.º 3
0
        protected override void Init(FObject obj)
        {
            base.Init(obj);

            if (_sequenceEditor == null)
            {
                _sequenceEditor = FSequenceEditor.CreateInstance <FSequenceEditor>();
                _sequenceEditor.Init((Editor)null /*SequenceEditor*/);
                _sequenceEditor.OpenSequence(_track.Owner.GetComponent <FSequence>());
            }
        }