Cocos Creator API

1.2.0

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

Playable

模块: cc

属性(properties)

isPlaying Boolean readOnly

当前是否正在播放。

isPaused Boolean readOnly

当前是否正在暂停

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index

方法

onPlay ( ) private

onPause ( ) private

onResume ( ) private

onStop ( ) private

onError
(
  • errorCode
)
private

名称 类型 描述
errorCode string

play ( )

播放动画。

stop ( )

停止动画播放。

pause ( )

暂停动画。

resume ( )

重新播放动画。

step ( )

执行一帧动画。

There are no methods that match your current filter settings. You can change your filter settings in the index section on this page. index