Author Topic: using .tweenTarget() function  (Read 1614 times)

sk1989

  • Guest
using .tweenTarget() function
« on: July 25, 2012, 07:23:53 AM »
How to use this tween target properly to slide the button on select?

if there is a tutorial, please forward me to it.
Thankyou

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: using .tweenTarget() function
« Reply #1 on: July 25, 2012, 07:39:20 AM »
tweenTarget simply points to the object that will be tweened.

If no target is specified, the game object of the script itself is assumed to be the target.

Just look at how it's used by creating a button using the widget tool. The button has UIButtonOffset, UIButtonColor and UIButtonScale.