MCPcopy
hub / github.com/4ian/GDevelop / tweenVariableNumber2

Function tweenVariableNumber2

Extensions/TweenBehavior/tweentools.ts:377–393  ·  view source on GitHub ↗
(
        runtimeScene: RuntimeScene,
        identifier: string,
        variable: Variable,
        toValue: number,
        duration: number,
        easing: string
      )

Source from the content-addressed store, hash-verified

375 * @deprecated Use tweenVariableNumber3 instead.
376 */
377 export const tweenVariableNumber2 = (
378 runtimeScene: RuntimeScene,
379 identifier: string,
380 variable: Variable,
381 toValue: number,
382 duration: number,
383 easing: string
384 ) => {
385 tweenVariableNumber3(
386 runtimeScene,
387 identifier,
388 variable,
389 toValue,
390 easing,
391 duration / 1000
392 );
393 };
394
395 /**
396 * Tween a scene variable.

Callers

nothing calls this directly

Calls 1

tweenVariableNumber3Function · 0.85

Tested by

no test coverage detected