Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

Cc.targetedAction报错

$
0
0

@panli32811 写道:


代码就一句话:
cc.Class({
extends: cc.Component,

properties: {
    sprite: {
        default: null,
        type: cc.Node
    }
},

// use this for initialization
onLoad: function () {
    this.node.runAction(cc.sequence(cc.delayTime(1), cc.targetedAction(this.sprite, cc.hide())));
},

});

帖子: 2

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>