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));