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

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

351. 真机测试时 有3d模型的界面尺寸就会错乱 [ 62%]

...句话  界面布局就会乱   请问是什么问题呢 let { x, y } = this._modelPnl.localToGlobal(new Laya.Point(0, 0))         let { x: x2, y: y2 } = this._modelPnl.localToGlobal(new Laya.Point(this._modelPnl.width, this._modelPnl.height))         let w = x2 - x         le...

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

352. Spine3D渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 62%]

...SPINE).then(() => { // 添加Spine3D渲染器组件到3D精灵节点上 this.spine3D = this.owner.addComponent(Laya.Spine3DRenderer); this.spine3D.source = "girl2/mix-and-match-pro.json"; // 设置Spine动画数据源 this.spine3D.skinName = "full-skins/girl"; // 设置皮肤名称 this.spine3D.p...

来源: Laya3.0_文档 发布时间: 20260203

353. Laya.loader.load 加载场景报错 [ 62%]

...r.load 加载场景报错 Laya.loader.load( 模型url, Laya.Handler.create(this, function(){ this.scene = Laya.loader.getRes(模型url); Laya.stage.addChild(this.scene); }),null, null, 1, true, "scene1"); 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent is not a fu...

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

354. 如何才能生成scene配套的代码 [ 62%]

...配套的代码 在demo里有个类TestSceneUI 请问如何才能生成 /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ package ui.test { import laya.ui.*; import laya.display.*; public class TestSceneUI extends Scene { public var scoreLbl:Label; publ...

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

355. 休眠触发Event.BLUR的函数里有静音的话,恢复网页后报错 [ 62%]

...复网页后报错 游戏中有这样一个监听Laya.stage.on(Event.BLUR, this, onBlur); onBlur函数里有这样一个语句SoundManager.stopAll(); 进行了主动静音,这样做的目的是休眠后游戏自动结束,结束后的界面是没有背景音的,这样再复原时也不会播放...

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

356. laya.utils.Timer_API3.0 [ 62%]

...n laya/utils/Timer.ts:278 延迟执行。 Parameters caller: any 执行域(this)。 method: Function 定时器回调函数。 Default value args: any[] = null 回调参数。 Returns void clear clear(caller: any, method: Function): void Defined in laya/utils/Timer.ts:243 清理定时器。 Parameter...

来源: Laya3.0_api 发布时间: 20231115

357. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 62%]

...: string = ""; /** 输入框数组 */ private _arrInput: Laya.TextInput = [this.input_nickname, this.input_mobile, this.input_password, this.input_repassword]; /** 标签数组 */ private _arrLabel: Laya.Label = [this.lb_nickname, this.lb_mobile, this.lb_password, this.lb_repassword]; /** 验证标...

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

358. 真机上随机报错 [ 62%]

...111/.com/libs/laya.d3.js:24049: RangeError: Array buffer allocation failed this._vertices = new Float32Array(this._floatCountPerVertex * lastVBVertexCount); ^^ RangeError: Array buffer allocation failed at new ArrayBuffer (<anonymous>) at new Float32Array (<anonymous>) at ShurikenParticl...

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

359. 小程序开放域相关 [ 62%]

... Laya.stage.event(Event.MOUSE_DOWN); //                    this.rankView.list["_content"].event(Event.MOUSE_DOWN,null);                 }             } //                         function showRank(str:String = ""):void{               ...

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

360. layacmd mac 系统安装不上,急 [ 62%]

...pm ERR! npm ERR! Failed at the electron@1.8.6 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /var/root/.npm/_logs/2018-05-08T04_07_13_726Z-debug.log   环境: mac...

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