Author Topic: What is UIButton Offset?  (Read 2815 times)

leegod

  • Jr. Member
  • **
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 90
    • View Profile
What is UIButton Offset?
« on: October 03, 2014, 07:27:31 AM »
I saw it at ngui sample scene 13-tabs.

and for what?



ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: What is UIButton Offset?
« Reply #1 on: October 04, 2014, 07:55:04 AM »
It's a pretty old script. It's used to offset the object you are hovering over (the button). So when you hover over it or press on it, it will move. You can achieve the same thing with UIPlayTween + a tween.