[LayaAir 2.0]laya.sprite 不接受click事件

代码如下:
this._firstSprite= new Laya.Sprite();
this._firstSprite.pos(100,150);
Laya.stage.addChild(this._firstSprite);
this._firstSprite.loadImage('../laya/assets/image/0.jpg');
//this._firstSprite.scale(0.3,0.3);
this._firstSprite.size(200,200);
//this._firstSprite.pivotX = 0;//设置 sprite 对象的水平方法轴心点坐标。
//this._firstSprite.pivotY = 0;//设置 sprite 对象的垂直方法轴心点坐标。
//this._firstSprite.mouseEnabled = true;
//给精灵添加点击事件--这个消息没有响应
this._firstSprite.on('click',this,this.clickFun);
console.log(this._firstSprite)
已邀请:

kylin9718

赞同来自:

辛苦给一个demo

要回复问题请先

商务合作
商务合作