示例#1
0
        public override string[] Interact(string prompt)
        {
            Dialogue dialogue;

            if (Dialogues.TryGetValue(prompt, out dialogue))
            {
                // "Say" response
                CanvasSettings.PlayerHudController.ActivateCaptionView(dialogue.response);
                // Return options
                return(dialogue.options);
            }

            return(null);
        }