Author Topic: Swap item tweening animation?  (Read 2469 times)

leegod

  • Jr. Member
  • **
  • Thank You
  • -Given: 5
  • -Receive: 0
  • Posts: 90
    • View Profile
Swap item tweening animation?
« on: September 16, 2014, 11:46:45 PM »
So I succeeded at swapping items between grids by change its parent transform.

But it just immediately changed after dropping, is there easy way to add smooth animation like ngui's default returning back animation when dropped position without container?

Thanks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Swap item tweening animation?
« Reply #1 on: September 17, 2014, 12:29:23 PM »
Have a look at how NGUI does it in the UIGrid, line 365.