• Animation.EventType 类型
    • 索引
      • 属性(properties)
  • Details
    • 属性(properties)
      • PLAY
      • STOP
      • PAUSE
      • RESUME
      • LASTFRAME
      • FINISHED

    Animation.EventType 类型

    模块: cc

    Animation 支持的事件类型

    索引

    属性(properties)
    • PLAY String 开始播放时触发
    • STOP String 停止播放时触发
    • PAUSE String 暂停播放时触发
    • RESUME String 恢复播放时触发
    • LASTFRAME String 假如动画循环次数大于 1,当动画播放到最后一帧时触发
    • FINISHED String 动画播放完成时触发

    Details

    属性(properties)

    PLAY
    开始播放时触发
    metadescription
    类型String
    定义于cocos2d/core/components/CCAnimation.js:51
    STOP
    停止播放时触发
    metadescription
    类型String
    定义于cocos2d/core/components/CCAnimation.js:58
    PAUSE
    暂停播放时触发
    metadescription
    类型String
    定义于cocos2d/core/components/CCAnimation.js:65
    RESUME
    恢复播放时触发
    metadescription
    类型String
    定义于cocos2d/core/components/CCAnimation.js:72
    LASTFRAME
    假如动画循环次数大于 1,当动画播放到最后一帧时触发
    metadescription
    类型String
    定义于cocos2d/core/components/CCAnimation.js:79
    FINISHED
    动画播放完成时触发
    metadescription
    类型String
    定义于cocos2d/core/components/CCAnimation.js:86