大约有 5,296 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0192 秒)
Laya_社区(4580) Laya3.0_api(672) Laya3.0_文档(15) Laya2.0_文档(8) Laya2.0_api(7) Laya_示例(6) laya_api(5) Laya2.0_示例(3)
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
...pservice 生成错误] libs/spine-core-3.8.js: libs/spine-core-3.8.js file is not in UTF-8 encoding(env: Windows,mg,1.05.2204264; lib: 2.17.0) VM84 WAGame.js:2 Error: module "libs/spine-core-3.8.js" is not defined at require (VM97 WAGameSubContext.js:2) at a (VM97 WAGameSubContext.j...
来源: Laya_社区 发布时间: 20220531
..., 要清理的定时器监回调方法(looppp)) Laya.timer.loop(100,this,looppp); 清理定时器是支持的哦!你看看你的清理是不是导致了你的代码错误! 2018-05-08 0 2 分享 微博 QZONE 微信 bbh 赞同来自: 模拟器上都没问题,就手机I上报了个错误 2...
来源: Laya_社区 发布时间: 20180505
...ode.js\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "layacmd" "--registry=https://registry.npm.taobao.org" 5902 verbose node v8.9.2 5903 verbose npm v5.5.1 5904 error code ELIFECYCLE 5905 error errno 1 5906 error electron@1.7.9 postinstall: `node install.js` 5906 error Exit status 1 5907 er...
来源: Laya_社区 发布时间: 20171206