public DialogueEditorContextMenu(
     DialogueEditor editor,
     DialogueRepository dialogueRepository,
     DialogueCsvHandler dialogueCsvHandler
     )
 {
     this.editor             = editor;
     this.dialogueRepository = dialogueRepository;
     this.dialogueCsvHandler = dialogueCsvHandler;
 }
예제 #2
0
 private void InitializeEditor()
 {
     titleContent       = new GUIContent($"{windowBaseName} - {selectedDialogue.name}");
     dialogueRepository = new DialogueRepository(selectedDialogue);
     dialogueCsvHandler = new DialogueCsvHandler(selectedDialogue);
     contextMenu        = new DialogueEditorContextMenu(
         this, dialogueRepository, dialogueCsvHandler
         );
     styles = new DialogueEditorStyles(selectedDialogue);
 }