public static void ShowEditor(int sequenceIndex)
    {
        seqIndex = sequenceIndex;

        Load();

        SequenceEditor editor = EditorWindow.GetWindow <SequenceEditor>(false, sequence.id);

        editor.Init();
    }
Exemple #2
0
    private void Edit(SequenceHolder sequenceHolder)
    {
        SequenceEditor sequenceEditor = Instantiate(sequenceEditorPrefab, transform.position, Quaternion.identity).GetComponent <SequenceEditor>();

        sequenceEditor.Init(sequenceHolder);
    }