大约有 5,194 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0101 秒)
Laya_社区(4485) Laya3.0_api(672) Laya2.0_文档(8) Laya3.0_文档(8) Laya2.0_api(7) Laya_示例(6) laya_api(5) Laya2.0_示例(3)
...match(/^\s*Error\:/)){app.exit(1);return;}>>compile_temp.js echo let isTasksComplete = str.match(/^laya\.ide\.complete$/m)>>compile_temp.js echo if (isTasksComplete){>>compile_temp.js echo app.exit(0)}>>compile_temp.js echo })>>compile_temp.js echo fork1.stderr.on("data...
来源: Laya_社区 发布时间: 20200325
【laya2.0】请问drawToCanvas方法改了吗? var htmlCanvas=this.p6_work.drawToCanvas(575,1023,0,0); var canvas=htmlCanvas.getCanvas(); var base64=canvas.toDataURL("image/png"); 报错:Uncaught TypeError: Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not of type ...
来源: Laya_社区 发布时间: 20181010
...看看,这样可以私信发demo The maximum heap size you can try is 2048MB - 16MB = 2032MB. Browsers currently don't support allocating anything larger than that. If you are running on a 32-bit browser, a HEAP size of 512MB or 768MB is about the maximum that is possible. 参照一下ue4...
来源: Laya_社区 发布时间: 20190905
...带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined ide 2.4 layaair2-cmd 编译报错 微信小...
来源: Laya_社区 发布时间: 20180823
...制体hero.prefab 在a场景通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)创建对象,同时给对象设置位置,成功 跳转到b场景后,通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)获取这个对象时,获取成功,设置对象位置...
来源: Laya_社区 发布时间: 20200309
微信加载proto文件 在Laya里用this.protobuf.load 可以正常加载,但是导出成微信小游戏就无法加载了。报错无效的URL,求解 2018-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回...
来源: Laya_社区 发布时间: 20180313
...roperty 'loop' of null import { Image } from "laya/ui/Image"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List...
来源: Laya_社区 发布时间: 20200203
...49 这是官方提供的代码 微信主域代码: Laya.timer.once(400,this,function():void{ var rankTexture:Texture = new Texture(Browser.window.sharedCanvas); rankTexture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 rankSprite2.graphics.drawTexture(rankTexture,5,78,ran...
来源: Laya_社区 发布时间: 20180504
...带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 用了Byt...
来源: Laya_社区 发布时间: 20180822
...y 'getWorldTransform' of null” 发射时生成子弹: onFire() { if (this.isFire) { Laya.Mesh.load("fly2/fly3-bullet.lm", Laya.Handler.create(this, function (m) { let bullet = new Laya.MeshSprite3D(m); this.Sn.addChild(bullet); bullet.addComponent(BulletScript); var bulletCollider = bullet.addCo...
来源: Laya_社区 发布时间: 20190308