Stops all Tweens which affect the given target or array of targets.
The tweens will erase all references to any targets they hold and be stopped immediately.
If this method is called while the Tween Manager is running its update process, then the tweens will be removed at the start of the next frame. Outside of this, they are removed immediately.
name | type | description |
---|---|---|
target | object | array |
The target to kill the tweens of. Provide an array to use multiple targets. |
This Tween Manager instance.