大约有 2,110 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0110 秒)
...例化 this.heropanel.hScrollBarSkin = ""; let hasHeroArr:Array<any> MsgFactory.inst.heroMessasge.getTypeHeroList(HeroMessage.HERO_TYPE_ALL,2); this.herolist.repeatX = hasHeroArr.length; this.herolist.dataSource = hasHeroArr; this.herolist.scrollTo(8) 大体是这样的
来源: Laya_社区 发布时间: 20171227
...能鼠标错位 主域加上下面的代码即可修复 typescript (<any>Laya.WXOpenDataViewer.prototype)._postMsg = function () { var mat: Laya.Matrix = new Laya.Matrix(); //修改的地方,转换成全局坐标 v...
来源: Laya_社区 发布时间: 20190822
...天编译之后js确实不全,而且IDEA好像还不支持使用Vector.<>这个语法,然后src下的Sprte也会报错,研究了半天,百度也没什么攻略,感觉学习成本太大了,就硬着头皮也只能这样了,工作需要学了AS,如果能重来一定用回TS唉。...
来源: Laya_社区 发布时间: 20180525
...equire (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (C:\Users\Administrator\Desktop\jjj.js:1:85) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at ...
来源: Laya_社区 发布时间: 20170424
...用import和export吗? 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 多个文件之间相互import,运行时报错 laya2.0 ts脚本需要 import ** from ** 问题 微信开发者工具不支持HTMLDivElement组件 打包百度小游戏不能播放声音?是api不支持 还...
来源: Laya_社区 发布时间: 20180622
...eters value: Color Returns void components get components(): ReadonlyArray<Component> Inherited from Node.components Defined in laya/display/Node.ts:983 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 destroyed get destroyed(): boolean Inherited f...
来源: Laya3.0_api 发布时间: 20231115
...完,弹窗无法关闭 真机调试报错:LayaPlayer不支持的标签</SCRIPT> Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 问题状态 最新活动: 2018-08-...
来源: Laya_社区 发布时间: 20180428
...modules/layaair2-cmd/node_modules/natives/index.js:55:10) at Object.<anonymous> (/usr/local/lib/node_modules/layaair2-cmd/node_modules/graceful-fs/fs.js:1:37) at Module._compile (internal/modules/cjs/loader.js:956:30) at Object.Module._extensions..js (internal/modules/cjs/loa...
来源: Laya_社区 发布时间: 20210420
...(); }else { var measureResult=Browser.context.measureText(Text._testWord); this._charSize.width=measureResult.width; this._charSize.height=(measureResult.height || this.fontSize); }; ...
来源: Laya_社区 发布时间: 20180526
... at http://127.0.0.1:52880/game/code.js:14:71 at Array.forEach (<anonymous>) at Object.__init (http://127.0.0.1:52880/game/code.js:14:36) at http://127.0.0.1:52880/game/code.js:21112:7 at http://127.0.0.1:52880/game/code.js:21113:3 at require (http://127.0.0.1:...
来源: Laya_社区 发布时间: 20180504