Ejemplo n.º 1
0
 private void doImportRenPy(string text)
 {
     if (renpyTextAsset != null || text != null)
     {
         SequencerRenPy renpyTranslator = new SequencerRenPy();
         if (renpyTextAsset == null)
             renpyTranslator.renpyToSequencer(text, sequencerData, lastSelectedSection, allowCharacterStubs);
         else
             renpyTranslator.renpyToSequencer(renpyTextAsset.text, sequencerData, allowCharacterStubs);
         Debug.LogWarning("Done!");
     }
 }
Ejemplo n.º 2
0
 private void doExportRenpy(string fileName)
 {
     SequencerRenPy renpyTranslator = new SequencerRenPy();
     renpyTranslator.export(fileName, sequencerData, lastSelectedSection);
 }