大约有 343 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0036 秒)
Laya_社区(259) Laya3.0_api(21) Laya2.0_文档(17) laya_api(17) Laya2.0_api(14) Laya3.0_文档(10) Laya_示例(3) Laya2.0_示例(2)
...数传递给事件侦听器。 Public Properties PropertyDefined By altKey : Boolean[read-only] 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 Event charCode : Boolean[read-only] 包含按下或释放的键的字符代码值。字符代码值为英文键盘值。 ...
来源: laya_api 发布时间: 20170929
...ndler.create(this, this.loadComplete, [ani, path, loopPlay, completeFun]), key); // 那能通过这个Key来获取它对应的path吗? cuixueying • 2017-08-09 21:06 你可以通过获取animation.frames,获取其返回的数组元素试下! asdf131 • 2017-08-21 14:24 @cuixueying: 不太明...
来源: Laya_社区 发布时间: 20170809
...E 微信 a8181405c 赞同来自: 估计是在代码里写了 for (var key:int in obj) 这样的AS转成JS会有问题。要改为 for (var key:String in obj) 2018-02-03 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 da...
来源: Laya_社区 发布时间: 20170921
.../Protected All Inherited Externals Only exported Menu Globals "laya/events/KeyBoardManager" KeyBoardManager Class KeyBoardManager KeyBoardManager 是键盘事件管理类。该类从浏览器中接收键盘事件,并派发该事件。 派发事件时若 Stage.focus 为空则只从 Stage 上派发...
来源: Laya3.0_api 发布时间: 20231102
...ourceHeight / this._stateNum; img.$_GID || (img.$_GID=Utils.getGID()); var key=img.$_GID+"-"+this._stateNum; var clips=AutoBitmap.getCache(key); if (clips)this._sources=clips; else { this._sources=; if (this._stateNum===1){ this._sources.push(img); }else { for (var i=0;i < this._stateNum;i++){ th...
来源: Laya_社区 发布时间: 20170516
...跑不起来啊: protobuf.js中的这句: return Function.apply(null, keys.concat("return " + source)).apply(null, keys.map(function(key) { return scope[key]; })); // eslint-disable-line no-new-func 出来这个错误: WAGame.js:3 gameThirdScriptError Cannot read property 'apply' of undefined;...
来源: Laya_社区 发布时间: 20180302
...最小为0 */ private priority: number = 1; /** * 混合加载 * @param resKey * @param otherLoadData * @param complete * @param progress * @param priority */ public load(resKey: string, otherLoadData: any, complete?: Laya.Handler, progress?: Laya.Handler, priority?: number) { if (priority) { this.p...
来源: Laya_社区 发布时间: 20191107
...样的方式就加载完了: var stages = window['ui']['Stage']; for(var key in stages) GameManager.instance.levelMgr.createLevel(stages[key]); 但问题是微信里头没有window..........所以目前我是用的最笨的办法,代码里面一个一个create.......... 请问各位有没...
来源: Laya_社区 发布时间: 20180703
...GradientDataInt.ts:12 整形渐变数量。 Returns number Methods add add(key: number, value: number): void Defined in laya/d3/core/particleShuriKen/module/GradientDataInt.ts:28 增加整形渐变。 Parameters key: number 生命周期,范围为0到1。 value: number 整形值。 Returns void clo...
来源: Laya3.0_api 发布时间: 20231115
...usic/bg.mp3"); (playSound 也会) 报错Invalid value used as weak map key;at audioContext.oncanplay callback function TypeError: Invalid value used as weak map key 2018-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180103