大约有 5,165 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0094 秒)
Laya_社区(4458) Laya3.0_api(672) Laya2.0_文档(8) Laya2.0_api(7) Laya_示例(6) Laya3.0_文档(6) laya_api(5) Laya2.0_示例(3)
...layacmd/node_modules/electron/install.js:47 throw err ^ Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/layacmd/node_modules/electron/.electron' npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron@1.8.6 postinstall: `node install.js` npm ERR! Exit status 1 npm ERR! npm E...
来源: Laya_社区 发布时间: 20180508
...保证可靠。 参考:https://stackoverflow.com/questions/12427880/is-it-important-to-call-gldisablevertexattribarray 问题出在粒子系统的shader用到了很多顶点属性,一般的shader顶多用2~3个,粒子系统用到了10个,而这些属性在enableVertexAttribArray之后...
来源: Laya_社区 发布时间: 20200708
...rseFromString(value,'text/xml'); if (rst.firstChild.textContent.indexOf("This page contains the following errors")>-1){ throw new Error(rst.firstChild.firstChild.textContent); } return rst; } 2018-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20180103
ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found 环境win10 layaboxide 2.6.0 beta 已经全局安装typescript,命令行 tsc -v,输出Version 3.8.3 nodejs 12.16.1 编译报错: semantic error TS2354: [31mThis syntax requires an imported he...
来源: Laya_社区 发布时间: 20200409
...试(断点不触发,运行变灰)。 2、物理碰撞失效。 (onCollisionEnter没触发,确认碰撞盒和刚体都存在,在2.0的版本运行触发) 3、拖尾Trail Render的问题(因新项目需要拖尾,一直在关注这个版本更新,已解决了之前错乱和超长拖尾...
来源: Laya_社区 发布时间: 20190821
...,运行时会报错是什么原因的 sha3.ts:210 Uncaught TypeError: ft is not a function at node_modules/@noble/hashes/esm/sha3.js (sha3.ts:210:43) at bundle-f6bf8.js:1:232 at node_modules/viem/_esm/utils/hash/keccak256.js (bundle-f6bf8.js:1:21864) at bundle-f6bf8.js:1:232 at encodeEventTopics.t...
来源: Laya_社区 发布时间: 20240724
...ndex:int = _keys.indexOf(key); if (index >= 0) return index; key = (key is String) ? Number(key) : ((key is Number) ? key.toString() : key); return _keys.indexOf(key); } /** * 返回指定键名的值。 * @param key 键名对象。 * @return 指定键名的值。 */ public function get(key:*):* ...
来源: Laya_社区 发布时间: 20180619
... { constructor() { console.log(Laya.Browser.width, Laya.Browser.height); this.current = { x: 0, y: Laya.Browser.height }; // Laya.stage.bgColor = "#3F51B5"; this.sp = new Laya.Sprite(); Laya.stage.addChild(this.sp); } render() { console.log("render"); var l = [ 0, 0, 0, -(Laya.Browser.height >>...
来源: Laya_社区 发布时间: 20180602
...断对象是否正在缓动中的API,你可以自己定义个变量比如isComplete,默认值为true,当该变量为false时,表示处在缓动中,则调用complete(),否则调用to方法同时将该变量设为false,在缓动完成回调函数中将该值设为true。 注意complete()...
来源: Laya_社区 发布时间: 20171122
...aya.core.js:1 Failed to load internal/sky.jpg: ReferenceError: ImageBitmap is not defined at http://127.0.0.1:24647/game/li ... 14785 at async Promise.all (index 0) at async Promise.all (index 0) warn @ laya.core.js:1 warnFailed @ laya.core.js:1 (anonymous) @ laya.core.js:1 Promise...
来源: Laya_社区 发布时间: 20231116