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

Function getTweenVariableSetter

Extensions/TweenBehavior/tweentools.ts:13–15  ·  view source on GitHub ↗
(variable: gdjs.Variable)

Source from the content-addressed store, hash-verified

11 const logger = new gdjs.Logger('Tween');
12
13 const getTweenVariableSetter = (variable: gdjs.Variable) => {
14 return (value: float) => variable.setNumber(value);
15 };
16 const tweenLayoutValueSetter = (value: float) => {};
17 const tweenLayerValueSetter = (value: float) => {};
18 const getTweenLayerCameraPositionSetter = (layer: gdjs.RuntimeLayer) => {

Callers 3

tweenSetterFactoryFunction · 0.70
tweenVariableNumberFunction · 0.70
tweenVariableNumber3Function · 0.70

Calls 1

setNumberMethod · 0.45

Tested by

no test coverage detected