コード例 #1
0
                private void CreateViews()
                {
                    _timelineEditor = TimelineEditor.CreateInstance <TimelineEditor>();
                    _timelineEditor.Init(this, _timelineEditorTimeFormat);
                    _timelineEditor.SetEventTypes(_allowedEvents);

                    _currentMode     = eMode.ViewingStateMachine;
                    _currentFileName = string.Empty;

                    _currentZoom = _editorPrefs._zoom;

                    if (!string.IsNullOrEmpty(_editorPrefs._fileName))
                    {
                        LoadFile(_editorPrefs._fileName);
                    }
                }