Search Unity

WaitForSecondsUnscaled (Coroutines wait for seconds for when Time.timeScale is 0)

Discussion in 'Scripting' started by Deleted User, Nov 24, 2015.

  1. Deleted User

    Deleted User

    Guest

    Is it possible for Unity to add a version of WaitForSeconds that works when Time.timeScale is 0? Currently I use the update function for timers when time scale is 0 which isnt ideal as im using it for UI animations and not for gameplay.
     
  2. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,532
    There's some good info on this here and here.
     
    Deleted User likes this.
  3. Deleted User

    Deleted User

    Guest

    Wow, I didnt know it was that simple. Thanks for the reply.
     
  4. Deleted User

    Deleted User

    Guest