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

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

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

352. 如何才能生成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

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

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

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

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

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

356. 真机上随机报错 [ 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

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

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

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

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

359. Laya2.0 LocaRotationEuler引起LookAt的错误 [ 62%]

...修改,代码如下: set localRotationEulerX(value) { var localEuler = this.localRotationEuler; localEuler.x = value; this.localRotationEuler = localEuler; } 2021-09-09 0 1 分享 微博 QZONE 微信 柠檬_酸 赞同来自: 后续补充: 2021-08-08 0 0 分享 微博 QZONE 微信 Laya_小小...

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

360. Laya3D init err, must support webGL [ 62%]

...canvas 或者WebGL 两种模式对使用引擎有什么区别? Warning!,this class[MiniAdpter] already exist: Object {init: } unity粒子特效的sorting fudge层级排序与laya3d的渲染显示相反 问题状态 最新活动: 2017-05-18 17:50 浏览: 1902 关注: 2 人

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