Author Topic: UISpriteAnimation and Time  (Read 3823 times)

eucryptic

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 27
    • View Profile
UISpriteAnimation and Time
« on: July 18, 2013, 01:33:25 AM »
I started using UISpriteAnimation and noticed that unlike the rest of NGUI, it uses Time.deltaTime and thus is affected by Time.timeScale.
Is this a design decision, or a leftover from something? Is there some other class I should be using?

For now I've made my own UISpriteAnimation that is identical but inherits from IgnoreTimeScale.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UISpriteAnimation and Time
« Reply #1 on: July 18, 2013, 04:40:05 AM »
No particular reason behind it. Probably leftover.