Exemplo n.º 1
0
    public void addTextbox(string s, bool full = false)
    {
        DialogueSubunit ne = new DialogueSubunit();

        ne.text         = s;
        ne.isFullScreen = full;
        elements.Add(ne);
    }
Exemplo n.º 2
0
 public void parseNextElement()
 {
     if (finished || currentElement >= elements.Count)
     {
         closeSequence();
     }
     else
     {
         if (currentTB)
         {
             GameObject.Destroy(currentTB.gameObject);
             FrozenCharacters = currentTB.FrozenCharacters;
         }
         DialogueSubunit ne = elements [currentElement];
         currentTB = TextboxManager.addTextbox(ne.text, Speaker, ne.isFullScreen);
         currentTB.MasterSequence   = this;
         currentTB.FrozenCharacters = FrozenCharacters;
         currentElement            += 1;
     }
 }