public static void ShowEditor(int sequenceIndex) { seqIndex = sequenceIndex; Load(); SequenceEditor editor = EditorWindow.GetWindow <SequenceEditor>(false, sequence.id); editor.Init(); }
private void Edit(SequenceHolder sequenceHolder) { SequenceEditor sequenceEditor = Instantiate(sequenceEditorPrefab, transform.position, Quaternion.identity).GetComponent <SequenceEditor>(); sequenceEditor.Init(sequenceHolder); }