大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0119 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...window.canvas.getContext('2d') 报错: Cannot set property '__proto__' of null TypeError: Cannot set property '__proto__' of null at HTMLCanvasElement.n.getContext (http://127.0.0.1:51595/game/__ ... :23503) at LayaUISample.__proto.drawfriendicon ( 2018-03-26 0 1 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20180326
...gator.userAgent.indexOf("MSIE 6.0") > 0) { Laya.Browser.window.opener = null; Laya.Browser.window.close(); } else { Laya.Browser.window.open('', '_top'); Laya.Browser.window.top.close(); } } else if (navigator.userAgent.indexOf("Firefox") > 0) { Laya.Browser.window.location.href = 'about:blank...
来源: Laya_社区 发布时间: 20180418
...的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.ti...
来源: Laya3.0_api 发布时间: 20231115
...源管理。因此没有资源管理文件时,可以设置manifestFile为null或者不存在的路径。 ResourceVersionPublic Constants ConstantDefined By FILENAME_VERSION : int = 2[static] 基于文件名映射管理方式(新版本IDE默认类型)ResourceVersion FOLDER_VERSION : int ...
来源: Laya2.0_api 发布时间: 20190513
...nts/saolei/release/layaweb/v1.0.0/comp/classic_numbers_8.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 2018-03-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20180315
...source = Laya.loader.getRes(dPath); // if (null != resource) { // resource.dispose(); // } else { // console.error("resources is null,path:{0}", dPath); ...
来源: Laya_社区 发布时间: 20180320
...n"; Laya.stage.addChild(logger); } private function onHttpRequestError(e:*=null):void { trace(e); } private function onHttpRequestProgress(e:*=null):void { trace(e) } private function onHttpRequestComplete(e:*=null):void { logger.text += "收到数据:" + hr.data; } } }
来源: Laya_示例 发布时间: 20251219
...如下图 _checkCachAs源码 每次调destory 会将videoTexture设置成null,然后会调_checkCachAs,videoTexture==null肯定会报错吧 我用的laya版本是3.1.5的 附件 : --> 2024-08-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20240829
...ldheight: number = 0; HengPing(isFirst: boolean): void { if (Laya.stage != null) { this.oldWith = Laya.Browser.clientWidth; this.oldheight= Laya.Browser.clientHeight; } console.log("设置横屏" + isFirst); if (isFirst) Laya3D.init(1280, 720, true); else Laya.stage.width = 1280; Laya.stage.height...
来源: Laya_社区 发布时间: 20180517
...个 AnimationPlayer 实例。 AnimationPlayer event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指...
来源: Laya2.0_api 发布时间: 20190513