Jump to content

How to remove tween callback


ZoomBox
 Share

Recommended Posts

Hello !

I would like to know what would be the best way to remove a tween callback

For exemple, I set a callback function "myFunction" onLoop or onComplete:

tween.onLoop.add(myFunction, param);

Then I would like to do something like this;

tween.onLoop=undefined;

(obviously, this doesn't work)

 

Edit: And without stopping the tween :)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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