Jump to content

Twitch tween movement after a second call


loover
 Share

Recommended Posts

Some function moves the object with the tween with "Linear.None" easing. It also set the custom variable "isMoving" to "true". When the tween is completed ("tween.onComplete" using), a second function is called, set "isMoving" to "false" and if some conditions is true - calls the first motion function. So at the moment there is a slight delay and tween looks not smoothed. The second function not heavy, it doesn't affect to performance.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...