Skip to content
Jan-Ole Schümann edited this page Oct 6, 2018 · 2 revisions

To

TweenSharp To(object target, float duration, Dictionary<string, object> args, bool useFrames = false)

"To" is a shortcut to start a tween. Instead of writing "TweenSharp tween = new TweenSharp(...)", just call "To" with the parameters of the constuctor of a TweenSharp. If useFrames is set to true, time is specified in frames instead of seconds. "To" returns the created TweenSharp object.

Clone this wiki locally