大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
Laya_社区(1924) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(49)
...ationClasspublic class AnimationTransform3DInheritanceAnimationTransform3D EventDispatcher Object AnimationTransform3D 类用于实现3D变换。 Public Properties PropertyDefined By localRotation : QuaternionAnimationTransform3DPublic Methods Hide Inherited Public Methods Show Inherited Public ...
来源: Laya2.0_api 发布时间: 20190513
...数面数都有 自定义场景类导出layaMaxUI.ts有前缀导致报错 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 问题状态 最新活动: 2017-11-30 10:24 浏览: 1571 关注: 3 人 Faith_mkx • 201...
来源: Laya_社区 发布时间: 20171129
... 2 个回复 186*****260 赞同来自: 发现是 第二个txt的 txt.on(Event.MOUSE_DOWN, this, startScrollText); 这个函数监听不到 屏幕外的txt监听不到? 必须移动到屏幕里面才能加这个代码? 移动到里面也再加也不行啊 在编辑器里做过ui 然后 放2...
来源: Laya_社区 发布时间: 20170429
...是为什么? 游戏内容当中,检测横竖屏: Laya.stage.on(Laya.Event.RESIZE, this, this.onResize); /** 更改适配*/ public onResize() { var stageWidth = Laya.Browser.clientWidth; var stageHeight = Laya.Browser.clientHeight; if (stageWidth < stageHeight) { console.log("one", Laya...
来源: Laya_社区 发布时间: 20170920
...ll 附Demo。 想做不同场景之间的切换。 spriteBtn.on(Laya.Event.CLICK, this, function (e) { Laya.stage.destroyChildren(); newScene(); });问题:LayaAirUnityPlugin 1.1.0导出了 ls 场景文件,在通过Laya.loader.create()预加载后。在3次Laya.Scene.load()后,最后一...
来源: Laya_社区 发布时间: 20170615
...ers/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27) at EventHandler.__proto.runWith (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:724:59) at Button.__proto.event (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:499:3...
来源: Laya_社区 发布时间: 20180709
...per(this); var arr2 = new Array(); arr2.push(this.dimg); this.dimg.on(Laya.Event.CLICK, this,apeclick2, arr2); } function apeclick2(that) { console.log("apeclick sucess"); that.skin = "../img/5.jpg"; console.log(that); that.zOrder = 1; } 2017-02-18 1 0 分享 微博 QZONE 微信 chensa222 赞同来...
来源: Laya_社区 发布时间: 20170217
... mrtian • 2018-10-09 18:40 谢谢回复,不过“this.roleAni.on(Laya.Event.COMPLETE,this,this.onCompleteAni);”这个代码不应该是监听动画播放完成的吗 mrtian • 2018-10-09 18:55 工程代码我更新了,mp3音频文件加载失败的问题,不知道是为什么,之前加...
来源: Laya_社区 发布时间: 20181009
...布微信游戏后失效。是因为什么? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) { let x = accelerationIncludingGravity.x; let y = accelerationIn...
来源: Laya_社区 发布时间: 20180322
...ge.addChild(testSp); let i = 0; tmpMask.scaleX = i / 3; Laya.stage.on(Laya.Event.CLICK, this, ()=>{ i = (i + 1) % 4; tmpMask.scaleX = i / 3; }); 附件 : --> 2020-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个...
来源: Laya_社区 发布时间: 20200421