Author Topic: UIButtonRotation not working? (NGUI 2.6.2)  (Read 6168 times)

mindlube

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 46
    • View Profile
UIButtonRotation not working? (NGUI 2.6.2)
« on: June 12, 2013, 11:52:33 AM »
Hi, I have added UIButtonRotation component to a UIButton gameobject.
When I play the scene, I can see the TweenRotation is getting added to the sprite, but no rotation occurs. Is this working in the current version? Any example scenes showing what I might setup wrong?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIButtonRotation not working? (NGUI 2.6.2)
« Reply #1 on: June 12, 2013, 01:17:44 PM »
Select your panel and remove the "static" flag from it.

mindlube

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 46
    • View Profile
Re: UIButtonRotation not working? (NGUI 2.6.2)
« Reply #2 on: June 12, 2013, 02:08:15 PM »
I verified that Static is turned off on the UIPanel...

mindlube

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 46
    • View Profile
Re: UIButtonRotation not working? (NGUI 2.6.2)
« Reply #3 on: June 12, 2013, 02:24:04 PM »
I worked around the issue with just doing UIButtonPlayAnimation instead.