ccc 播放动画

cc.Class({
extends: cc.Component, properties: {
anim:cc.Animation,
}, // use this for initialization
onLoad: function () { }, sheepJump:function()
{
this.anim.play("sheep-animation-jump")
}, sheepRun:function()
{
this.anim.play("sheep-animation-run")
} // called every frame, uncomment this function to activate update callback
// update: function (dt) { // },
});
上一篇:无法读取配置节"system.web.extensions",因为它缺少节声明


下一篇:Windows Server Backup 裸机恢复