Ejemplo n.º 1
0
 private void SetText(RotationsSave rs)
 {
     if (rs.GetFirst())
     {
         rs.SetFirst(false);
         StartCoroutine(MonologueAndWaitAdvance(FindObjectOfType <MonologueVisualizer>().VisualizeTextNonTutorial(rs.GetText(_currentLanguage))));
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Plays the audio associated with the current Rotation
 /// </summary>
 /// <param name="rs"></param>
 private void PlayAudio(RotationsSave rs)
 {
     if (rs.GetAudio() != null)
     {
         if (!FindObjectOfType <TutorialManager>()._doTutorial)
         {
             if (rs.GetFirst())
             {
                 rs.SetFirst(false);
                 Debug.Log("Should play audio here");
             }
         }
     }
 }