Ejemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     if (MusicPlayer.GetIsPlaying())
     {
         sec = sec + Time.deltaTime;
         GameObject.Find("GuessTimerText").GetComponent <Text>().text = LanguageManager.ConvToTimeMili(sec);
     }
     else
     {
         sec = 0f;
     }
 }