コード例 #1
0
    public bool TryStartConversation(string conversationID)
    {
        ConversationGraph conversation;

        if (dialogue.TryGetConversation(conversationID, out conversation))
        {
            currentConversation = conversation;
            currentLine         = currentConversation.GetFirstMessage().Value;
            ShowLine(currentLine);
            return(true);
        }
        else
        {
            return(false);
        }
    }