mirror of
https://github.com/photonstorm/phaser
synced 2024-11-17 10:18:42 +00:00
Duration is optional
This commit is contained in:
parent
5018061751
commit
7125334677
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
* @typedef {object} Phaser.Types.GameObjects.PathFollower.PathConfig
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @property {number} duration - The duration of the path follow in ms. Must be `> 0`.
|
||||
* @property {number} [duration=1000] - The duration of the path follow in ms. Must be `> 0`.
|
||||
* @property {number} [from=0] - The start position of the path follow, between 0 and 1. Must be less than `to`.
|
||||
* @property {number} [to=1] - The end position of the path follow, between 0 and 1. Must be more than `from`.
|
||||
* @property {boolean} [positionOnPath=false] - Whether to position the PathFollower on the Path using its path offset.
|
||||
|
|
Loading…
Reference in a new issue