Exemplo n.º 1
0
 public void SetToBar()
 {
     if (gameManager.music.isPlaying)
     {
         gameManager.music.Pause();
         play = false;
     }
     gameManager.AllRemove();
     gameManager.music.time = timeBar.value * gameManager.music.clip.length;
     timeText.text          = gameManager.music.time.ToString();
 }