private void SetText(RotationsSave rs) { if (rs.GetFirst()) { rs.SetFirst(false); StartCoroutine(MonologueAndWaitAdvance(FindObjectOfType <MonologueVisualizer>().VisualizeTextNonTutorial(rs.GetText(_currentLanguage)))); } }
/// <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"); } } } }