大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0225 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...微信小游戏禁用了Function,这个怎么解决? Function.apply(null, keys.concat("return " + source)).apply(null, keys.map(function (key) { return scope[key]; })); 2018-01-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...
来源: Laya_社区 发布时间: 20180111
...ya.Stage.SCREEN_NONE; //2.设置舞台背景色为空 Laya.stage.bgColor = null; this.scene = new Laya.Scene3D(); this.camera = new Laya.Camera(0, 0.1, 100); Laya.stage.addChild(this.scene); this.scene.addChild(this.camera); this.camera.transform.translate(new Laya.Vector3(0, 3.5, 1)); this.camera.t...
来源: Laya_社区 发布时间: 20200903
...会播报这个 JSCallbackFuncObj::addCallbackFunc error m_vFunc[1] != NULL JSCallbackFuncObj::addCallbackFunc error m_vFunc[2] != NULL 我排查了很久在xcode里面发现如下的代码 我不知道引擎 在渲染这块进行了什么操作,我个人认为是不是 app渲染问题进...
来源: Laya_社区 发布时间: 20190612
...AppConfirm = document.getElementById("AppConfirm"); if (this.AppConfirm == null) { this.AppConfirm = document.createElement("div"); document.body.appendChild(this.AppConfirm); this.AppConfirm.id = "AppConfirm"; } this.modlueDiv = document.getElementById("modlue"); if (this.modlueDiv == null) { thi...
来源: Laya_社区 发布时间: 20181214
..., this, onKeyUp); } /**键盘按下处理*/ private function onKeyDown(e:*=null):void { keyDownList[e["keyCode"]] = true; } /**键盘抬起处理*/ private function onKeyUp(e:*=null):void { delete keyDownList[e["keyCode"]]; } private function keyboardInspector(e:*=null):void { var numKeyDown:int = k...
来源: Laya_示例 发布时间: 20251219
...oad("Json/shopLevel.json", Laya.Handler.create(this, this.shopJsonLoaded), null, Laya.Loader.JSON); Laya.loader.load("Json/menu.json", Laya.Handler.create(this, this.menuJsonLoaded), null, Laya.Loader.JSON); } //读取商店等级配置表 shopJsonLoaded( ) { let json = Laya.loader.getRes("Json/shop...
来源: Laya_社区 发布时间: 20220819
...题了,上个版本报错信息是获取像素值的时候rgba数组是null,这次的报错是_nativeObj是null,麻烦官方给看下,这个接口急用,如有解决办法请直接回复我可以自己改。我把上个版本的报错和这个版本的报错信息都发在附件中了。 ...
来源: Laya_社区 发布时间: 20190516
..."res/atlas/template/comp.json", Laya.Handler.create(this, onAssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() { Laya.class(MyBoot, "MyBootClass", MyPage2UI); var UI = new MyBootClass(); Laya.stage.addChild(UI); } function MyBoot() { MyBoot.super(this); this...
来源: Laya_社区 发布时间: 20160722
...的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.timer.clearTimer()。 Parameters ...
来源: Laya3.0_api 发布时间: 20231115
...r){ function Texture(bitmap,uv){ /**图片或者canvas 。*/ //this.bitmap=null; /**UV信息。*/ //this.uv=null; /**沿 X 轴偏移量。*/ this.offsetX=0; /**沿 Y 轴偏移量。*/ this.offsetY=0; /**原始宽度(包括被裁剪的透明区域)。*/ this.sourceWidth=0; /**原始高度(包...
来源: Laya_社区 发布时间: 20180504