Author Topic: Handle a tween on a panel  (Read 1776 times)

Kafar

  • Newbie
  • *
  • Thank You
  • -Given: 10
  • -Receive: 0
  • Posts: 27
    • View Profile
Handle a tween on a panel
« on: August 31, 2015, 04:04:29 AM »
Hi,

I have a panel with buttons with a tween position on the panel to sliding the panel when the user click on it.

Now I need to handle the existing tween on panel programmatically from another script and sliding the panel.

Can how to do that? And what trigger condition I select on tween for this case?

Thanks

-Kafar

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Handle a tween on a panel
« Reply #1 on: September 06, 2015, 04:58:13 PM »
GetComponent<UITweener>().PlayForward(); ?