Author Topic: How to enhance the tween alpha Performance?(Tween the sprite or the panel?)  (Read 3092 times)

FrankYan

  • Newbie
  • *
  • Thank You
  • -Given: 6
  • -Receive: 2
  • Posts: 18
    • View Profile
I wonder what's the differences between tween targets
1.Just Tween alpha of one sprite
2. add a UIWidget as the sprite's parent and tween UIWidget's alpha
3. Tween the Panel's alpha

which one can make best Performance?
Thanks~

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
There shouldn't be any noticeable difference. All methods will require draw call changes.