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

大约有 389 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0062 秒)

21. ios升级到15.4后游戏会一直闪屏,可重现demo见附件 [ 81%]

...以这样进行下处理,在laya.core.js的_flushToTarget方法的target.start之前进行下gl.flush或者gl.finish处理,修改如下:   2022-03-30 2 1 分享 微博 QZONE 微信 Laya_Yan 赞同来自: 我们查看一下,有结果及时联系您 2022-03-19 0 19 分享 微博 QZONE 微信 ...

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

22. laya2 物理引擎好多问题 [ 80%]

...og('********');  Laya.timer.once(500,this,function(){ // Laya.Scene.load('start.json'); Laya.Scene.open('start.json'); })   2019-07-21 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 ...

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

23. 获取的ui页面里下on事件无法触发 [ 80%]

获取的ui页面里下on事件无法触发 类代码如下: var GameStartView = function () { GameStartView.super(this); this.Start.on(Laya.Event.CLICK, this, this.open); console.log(this.Start); GameStartView.prototype.open = function(){ console.log("Open is ok"); } }; Laya.class(GameStartView,...

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

24. laya.particle.emitter.EmitterBase_API3.0 [ 80%]

...ime Accessors emissionRate particleTemplate Methods advanceTime clear emit start stop Properties minEmissionTime minEmissionTime: number = 1 / 60 Defined in laya/particle/emitter/EmitterBase.ts:22 发射粒子最小时间间隔 Accessors emissionRate get emissionRate(): number set emissionRate(_emis...

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

25. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 80%]

...etComponent(LoveControl);  //点击提示文字,开始游戏 this.label_start.on(Laya.Event.CLICK, this, this.onTipClick); //this._loveControl.startGame();  //点击重置按钮,重新开始 this.button_reset.on(Laya.Event.CLICK, this, this.onClickReset);  let partPath = "res/aixin_bao.part";...

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

26. laya.resource.RenderTexture2D [ 80%]

...,所以如果被外面打断了的话,会出错。 RenderTexture2D  start():void 开始绑定。 RenderTexture2DProtected Methods  MethodDefined By  _disposeResource():void[override] RenderTexture2DPublic Constants Hide Inherited Public Constants Show Inherited Public Constants ConstantDef...

来源: Laya2.0_api 发布时间: 20190513

27. bug,ChainCollider.points第二次设置,会报错! [ 79%]

...vate _chain; } /**开始游戏,通过激活本脚本方式开始游戏*/ startGame(): void { if (!this._started) { this._started = true; this.enabled = true; } var ground=this.owner.getChildByName("ground");            //****新增代码*****, ground.addComponent(Laya.ChainCollider);   ...

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

28. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 79%]

...nable: boolean; protected _owner: laya.d3.core.Sprite3D; /**是否已执行start函数。*/ started: boolean; /** * 获取唯一标识ID。 * @return 唯一标识ID。 */ id: number; /** * 获取所属Sprite3D节点。 * @return 所属Sprite3D节点。 */ owner: laya.d3.core.Sprite3D; /** * 获取...

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

29. laya.d3.resource.RenderTextureCube_API3.0 [ 79%]

...end _getSource _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool createFromPool destroyUnusedResources recoverToPool Constructors constructor new RenderTextureCube(s...

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

30. 寻路系统(JavaScript-3D基础(JS)-LayaAir3D之高级应用) [ 78%]

...is.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount].x,this.path[this.nextPathIndex++ % this.pointCount].z, this.endPoint); //开始于结束点数据 var start = this.graph.grid[this.startPoint.x][t...

来源: Laya2.0_文档 发布时间: 20210714