You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jan-Ole Schümann edited this page Jun 3, 2017
·
2 revisions
Keyword: delay
Defines the time until the tween starts playing
Parameter: float
Example: "delay", 1.5f
In the example below, TweenSharp waits 1.5 seconds before starting to playback the tween which takes 5 seconds. The tween is finished after a total of 6.5 seconds.
TweenSharp tween = new TweenSharp(gameObject, 5f, new
{
x = 8f,
delay = 1.5f
});