Made it clear a Tween will not update _ properties. Fix #5747

This commit is contained in:
Richard Davey 2021-06-18 18:06:58 +01:00
parent fc1126878b
commit 9066f756f9
2 changed files with 4 additions and 0 deletions

View file

@ -206,6 +206,8 @@ var TweenManager = new Class({
/** /**
* Create a Tween and add it to the active Tween list. * Create a Tween and add it to the active Tween list.
* *
* Please note that a Tween will not manipulate any property that begins with an underscore.
*
* @method Phaser.Tweens.TweenManager#add * @method Phaser.Tweens.TweenManager#add
* @since 3.0.0 * @since 3.0.0
* *

View file

@ -18,6 +18,8 @@ var MATH_CONST = require('../../math/const');
* on a duration and type of ease. They are rarely instantiated directly and instead should be * on a duration and type of ease. They are rarely instantiated directly and instead should be
* created via the TweenManager. * created via the TweenManager.
* *
* Please note that a Tween will not manipulate any property that begins with an underscore.
*
* @class Tween * @class Tween
* @memberof Phaser.Tweens * @memberof Phaser.Tweens
* @extends Phaser.Events.EventEmitter * @extends Phaser.Events.EventEmitter