Esempio n. 1
0
 public void ActivateUI(NavigationController.directions d)
 {
     if (CategoryUI.activeInHierarchy)
     {
         SleepTimer?.Reset();
         SleepTimer?.Start();
         StartCoroutine(MoveVidToTop());
         StartCoroutine(UnfadeCategories());
     }
 }
Esempio n. 2
0
 public void ResetSessionTimer(NavigationController.directions d)
 {
     if (SessionTimer.IsRunning)
     {
         SessionTimer.Restart();
     }
     else
     {
         SessionTimer.Reset();
     }
 }
Esempio n. 3
0
    public void ResetSessionTimer(NavigationController.directions d)
    {
        // UnityEngine.Debug.Log("RESET!!!!!");

        if (SessionTimer.IsRunning)
        {
            SessionTimer.Restart();
        }
        else
        {
            SessionTimer.Reset();
        }
    }
Esempio n. 4
0
 public void ActivateUI(NavigationController.directions d)
 {
     if (mediaController.IntermissionPlayer.isActiveAndEnabled)
     {
         return;
     }
     else
     {
         StartCoroutine(MoveVidToTop());
         SleepTimer?.Reset();
         SleepTimer?.Start();
         if (CategoryUI.activeInHierarchy)
         {
             StartCoroutine(UnfadeCategories());
         }
     }
 }