Table of Contents

DOGoto Method

Namespace
DG.Tweening

DOGoto(AudioMixer, float, bool)

public static int DOGoto(this AudioMixer target, float to, bool andPlay = false)

Sends to the given position all tweens that have this target as a reference (meaning tweens that were started from this target, or that had this target added as an Id) and returns the total number of tweens involved.

Parameters

target AudioMixer
to float

Time position to reach (if higher than the whole tween duration the tween will simply reach its end)

andPlay bool

If TRUE will play the tween after reaching the given position, otherwise it will pause it

Returns

int