Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var tween = transform.DOLocalMoveX (2f, 1f)
.OnStart (() => Debug.Log ("OnStart"))
.OnPlay (() => Debug.Log ("OnPlay"))
.OnKill (() => Debug.Log ("OnKill"))
.OnComplete (() => Debug.Log ("OnComplete"))
.OnPause (() => Debug.Log ("OnPause"))
.OnRewind (() => Debug.Log ("OnRewind"))
.OnStepComplete (() => Debug.Log ("OnStepComplete"))
.OnUpdate (() => Debug.LogWarning ("OnUpdate"))
.OnWaypointChange (x => Debug.Log ("OnWaypointChange" + x));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment