Exemplo n.º 1
0
        protected virtual void SetSelectionText(ScenarioData scenario, ScenarioDialogue dialogue)
        {
            List <ScenarioDialogue.Selection> selections = dialogue.selections;
            int selectionListLength = 0;

            if (selections != null)
            {
                selectionListLength = selections.Count;
            }
            selectionText = new string[selectionListLength];
            for (int i = 0; i < selectionListLength; i++)
            {
                selectionText[i] = scenario.GetLocalText(selections[i].text);
            }
        }
Exemplo n.º 2
0
 protected virtual void SetDialogueText(ScenarioData scenario, ScenarioDialogue dialogue)
 {
     dialogueText = scenario.GetLocalText(dialogue.text);
 }