Example #1
0
 public void OnPlayPauseStoriesPressed()
 {
     if (otherPlayPause.GetText() == "Play")
     {
         storiesPlaybackManager.PlayAudio();
         otherPlayPause.SetText("Pause");
     }
     else
     {
         storiesPlaybackManager.PauseAudio();
         otherPlayPause.SetText("Play");
     }
 }