コード例 #1
0
    public void ShowNarrationWithIdentifier(NarrativeInfo narrativeInfo)//delegate, tag, give choice
    {
        string identifier          = narrativeInfo.NarrationId;
        string narrativeIdentifier = narrativeInfo.identifier;

        Debug.Log("show narration " + identifier);
        if (!narrationDictionary.ContainsKey(identifier))
        {
            Debug.LogError("identifier does not exist in narration dict " + identifier);
        }
        List <NarrationInfo> narrationInfos = narrationDictionary[identifier];

        DeveloperDialogViewController.CreateViewController(narrativeIdentifier, narrationInfos);
    }
コード例 #2
0
    public void ShowNarrationWithIdentifier(string narrationIdentifier)
    {
        List <NarrationInfo> narrationInfos = narrationDictionary[narrationIdentifier];

        DeveloperDialogViewController.CreateViewController(null, narrationInfos);
    }