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); }
public void ShowNarrationWithIdentifier(string narrationIdentifier) { List <NarrationInfo> narrationInfos = narrationDictionary[narrationIdentifier]; DeveloperDialogViewController.CreateViewController(null, narrationInfos); }