Click or drag to resize

TweenTSetup Method

Initialize a tween.

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

Parameters

start
Type: T
The start value.
end
Type: T
The end value.
duration
Type: SystemSingle
The duration of the tween.
scaleFunc
Type: SystemFuncSingle, Single
A function used to scale progress over time.
progress
Type: SystemActionITweenT
Progress callback
completion (Optional)
Type: SystemActionITweenT
Called when the tween completes

Return Value

Type: TweenT

[Missing <returns> documentation for "M:DigitalRuby.WeatherMaker.Tween`1.Setup(`0,`0,System.Single,System.Func{System.Single,System.Single},System.Action{DigitalRuby.WeatherMaker.ITween{`0}},System.Action{DigitalRuby.WeatherMaker.ITween{`0}})"]

Implements

ITweenTSetup(T, T, Single, FuncSingle, Single, ActionITweenT, ActionITweenT)
See Also