• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,657 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0051 秒)

2451. 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [ 48%]

... 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

2452. Native打包的横竖屏问题 [ 48%]

...后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 event自定义事件的问题 关于apk打包动画卡的问题 横屏模式在锁定竖屏的iphone上不能正常显示的问题 问题状态 最新活动: 2017-02-12 19:05 浏览: 1677 关注: 2 人 reven1983 • 2017-02-12 ...

来源: Laya_社区 发布时间: 20170212

2453. Spine渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 48%]

... 记录当前皮肤状态 //播放停止后执行逻辑 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

2454. input text中文输入法时会调用3次INPUT事件 [ 48%]

...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

2455. 重力感应 Accelerator 发布微信游戏后失效。是因为什么? [ 48%]

...布微信游戏后失效。是因为什么? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) {         let x = accelerationIncludingGravity.x;         let y = accelerationIn...

来源: Laya_社区 发布时间: 20180322

2456. layaAir 打包成apk后在真机上运行 使用粒子时报错 [ 48%]

... (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

2457. 高级应用-实时阴影 [ 48%]

...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

2458. GlowFilter和TimeLine/Tween一起用的问题 [ 48%]

... 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

2459. 程序当中更改适配模式后,没有生效成相对应的适配模式效果是为什么? [ 47%]

...是为什么? 游戏内容当中,检测横竖屏: 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

2460. Cannot read property 'call' of undefined [ 47%]

...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