Skip to content

Instantly share code, notes, and snippets.

@baobao
Created October 25, 2016 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baobao/d32c800ce83b27d90586b178bdc09677 to your computer and use it in GitHub Desktop.
Save baobao/d32c800ce83b27d90586b178bdc09677 to your computer and use it in GitHub Desktop.
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