大约有 94 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0086 秒)
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize elasticEnabled filters globalRotation globalScaleX globalScaleY graphics gray hScrollBar hScrollBarSkin height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivot...
来源: Laya3.0_api 发布时间: 20231115
...y = 32 * 4; this.addChild(this.player); //监听 按下 弹起 事件 Laya.stage.on(laya.events.Event.MOUSE_DOWN, this, this.onMouseDown); Laya.stage.on(laya.events.Event.MOUSE_UP, this, this.onMouseUp); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop ...
来源: Laya_社区 发布时间: 20160803
...mmc 赞同来自: ls场景文件通过Laya.loader.create()预加载后Laya.stage.destroyChildren()出现异常Cannot read property 'visible' of null。 问题详情见:https://ask.layabox.com/question/5103 2017-06-15 0 1 分享 微博 QZONE 微信 150*****372 赞同来自: 目前,使用最新版...
来源: Laya_社区 发布时间: 20170428
...rite = new Laya.Sprite(); a.graphics.drawCircle(0, 0, 50, "#ff0000"); Laya.stage.addChild(a); a.size(100, 100); a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void { console.log("touch a"); } 因为需要将mouseThroug...
来源: Laya_社区 发布时间: 20161109