Jump to content

Does Sprite Kill Remove Tweens


ramspeed
 Share

Recommended Posts

Good morning! Quick question:

 

I'm attaching tweens to sprites as a property ala:

vSprite.myTween = this.add.tween(vSprite ,,,

 

Do I need to explicitly remove the tweens before killing the sprite or will a sprite kill remove those tween references?

 

Not sure if I need this:

 

this.tweens.remove(vSprite.myTween)

 

 

Thanks ya'll

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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