Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

is it possible that some gameobjects are affected by timescale,while some are not?

Discussion in 'Scripting' started by JohnSonLi, Sep 15, 2014.

  1. JohnSonLi

    JohnSonLi

    Joined:
    Apr 15, 2012
    Posts:
    586
    affecting animation and yield return waitforseconds and spells ....
     
  2. FlashMuller

    FlashMuller

    Joined:
    Sep 25, 2013
    Posts:
    449
    In code you can always use Time.unscaledDeltaTime which will give you, well, the unscaled delta time =)
     
  3. JohnSonLi

    JohnSonLi

    Joined:
    Apr 15, 2012
    Posts:
    586
    thx, but I think it is still very complicated. considering so many animation components and yield return.
    perhaps you are right, unity does not support timescale for a single gameobject.