* Get tween value. * * It returns 0 for tweens with several values. * * @param identifier Unique id to identify the tween * @returns Value of playing tween animation
(identifier: string)
| 432 | * @returns Value of playing tween animation |
| 433 | */ |
| 434 | getValue(identifier: string): float { |
| 435 | const tween = this._tweens.get(identifier); |
| 436 | if (!tween) { |
| 437 | return 0; |
| 438 | } |
| 439 | return tween.getValue(); |
| 440 | } |
| 441 | |
| 442 | getNetworkSyncData(): TweenManagerNetworkSyncData { |
| 443 | const syncData = { |