Skip to content

Commit

Permalink
update AnimationClip doc
Browse files Browse the repository at this point in the history
  • Loading branch information
2youyou2 committed Jul 1, 2016
1 parent c3d1b30 commit f0b5a21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/cocos2d/core/animation-clip/event-data.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// frame : The exactly time in second.
// func : Callback function name
// params : Callback parameters
[
{ frame: 0, func: 'onAnimationEvent1', params:['param-1', 'param-2'] },
{ frame: 2, func: 'onAnimationEvent3', params:['param-1', 'param-2'] },
Expand Down

0 comments on commit f0b5a21

Please sign in to comment.