大约有 2,657 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0051 秒)
Laya_社区(2027) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(47)
... at GamePagePlayer.Utils.fitDOMElementInArea (laya.core.js:10340) at EventHandler.__proto.run (laya.core.js:710) at Stage.__proto.event (laya.core.js:499) at Stage.__proto.setScreenSize (laya.core.js:18495) 2018-10-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20181018
...后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 event自定义事件的问题 关于apk打包动画卡的问题 横屏模式在锁定竖屏的iphone上不能正常显示的问题 问题状态 最新活动: 2017-02-12 19:05 浏览: 1677 关注: 2 人 reven1983 • 2017-02-12 ...
来源: Laya_社区 发布时间: 20170212
... 记录当前皮肤状态 //播放停止后执行逻辑 this.owner.on(Laya.Event.STOPPED, this, () => { // 通过三元运算符切换皮肤名称 currentSkin = currentSkin === "full-skins/girl" ? "full-skins/girl-blue-cape" : "full-skins/girl"; this.spine.skinName = currentSkin; this.spine.play(...
来源: Laya3.0_文档 发布时间: 20251128
...put text中文输入法时会调用3次INPUT事件 this.input_text.on(Laya.Event.INPUT, this, this.onInput); //切换到中文输入法,输入数字,会调用三次,而英文输入法不会 private onInput(ipt: Laya.TextInput) { console.log("这里会调用三次"); } 2017-05-15...
来源: Laya_社区 发布时间: 20170515
...布微信游戏后失效。是因为什么? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) { let x = accelerationIncludingGravity.x; let y = accelerationIn...
来源: Laya_社区 发布时间: 20180322
... (http://192.168.1.240:8900/bin/ ... :11690) at e.i.event (http://192.168.1.240:8900/bin/ ... 1:9149) at e.n._endLoad (http://192.168.1.240:8900/bin/ ... :27979) at e (http://192.168.1.240:8900/bin/ ... :27286) ...
来源: Laya_社区 发布时间: 20180511
...mport laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author ... */ public class RealTimeShadow { private var _quaternion:Quaternion = new Quaternion(); private var scen...
来源: Laya_示例 发布时间: 20251223
... t.to(glowFilter, {blur: 1}, 200, null, 0); } t.on(Event.COMPLETE, this, function(){ sp.filters = null; }); t.play(0, true); }; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.cl...
来源: Laya_社区 发布时间: 20181012
...是为什么? 游戏内容当中,检测横竖屏: 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
...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