大约有 253 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0050 秒)
...面的send已经执行完毕了,。而且我再UI完毕的时候 已经设置了event.stopPropagation();,也就是 this._event._stoped应该是个true, 既然已经是true了,是否可以不执行 循环里面 添加 发送的其他消息了,因为这个stop 就是阻止后面的所有监...
来源: Laya_社区 发布时间: 20180529
...yer.x, this.player.y)){ //人物如果踩到地板了 就把人物的坐标设置到地板上面 this.player.y = floor.y; //如果到地板上面的 就得重置跳的方法 this.player.jumpReset(); } } } //点击 出发人物 跳跃 _proto.onMouseDown = function(){ this.player.jump(); } _proto.onMo...
来源: Laya_社区 发布时间: 20160803
...sprite我在原地画了个圆为什么只有右下区域能点击,明明设置了mouseEnabled=true,设置了size了呢?虽然官方的文档说明里有介绍,真心很多不细看的人压根不知道,也包括我(!嘻嘻) var a: Laya.Sprite = new Laya.Sprite(); a.graphics.drawCircle...
来源: Laya_社区 发布时间: 20161109