Click or drag to resize

TweenFactoryTween Method (Object, Single, Single, Single, FuncSingle, Single, ActionITweenSingle, ActionITweenSingle)

Start and add a float tween

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static FloatTween Tween(
	Object key,
	float start,
	float end,
	float duration,
	Func<float, float> scaleFunc,
	Action<ITween<float>> progress,
	Action<ITween<float>> completion = null
)

Parameters

key
Type: SystemObject
Key
start
Type: SystemSingle
Start value
end
Type: SystemSingle
End value
duration
Type: SystemSingle
Duration in seconds
scaleFunc
Type: SystemFuncSingle, Single
Scale function
progress
Type: SystemActionITweenSingle
Progress handler
completion (Optional)
Type: SystemActionITweenSingle
Completion handler

Return Value

Type: FloatTween
FloatTween
See Also