private void Awake()
    {
        trackerFactory = new DialogueTrackerFactory();
        conversationResponseManager = new ConversationResponseDisplayManager();
        snippetFactory = new ConversationUiElementFactory(this, conversationResponseManager);
        characterMenu  = GetComponentInChildren <CharacterMenu>();
        characterMenu.gameObject.SetActive(false);

        keyMap = new KeyCodeToResponseMap(KeyCode.A, KeyCode.S, KeyCode.D);
    }
示例#2
0
 public ConversationUiElementFactory(ConversationUi ui, ConversationResponseDisplayManager displayManager)
 {
     conversationUi         = ui;
     responseDisplayManager = displayManager;
 }