大约有 518 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
...); sp.emitter.start(); sp.x = 100; sp.y = 100; sp.name = (i++).toString(); console.log(sp.name); Laya.stage.addChild(sp); setTimeout(function () { var emitter = sp.emitter; emitter.stop(); emitter.clear(); sp.stop(); sp.destroy(true); Laya.stage.removeChild(sp); onAssetsLoaded(settings); }, 100); } ...
来源: Laya_社区 发布时间: 20170103
...his,graphicsImg,ag)); graphicsImg(ag); } function graphicsImg(args) { console.log(args); } //loadImage 的回调函数只传递出来了第一个参数 //输出结果是 [lsd, Sprite, 1, str] lsd 2018-05-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20180510
...; { Laya.loader.loadPackage("common", "http://127.0.0.1:2840", (p) => { console.log("common", p); }) }); } } 2024-11-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 雄二 相关问题 请问2.0的版本开...
来源: Laya_社区 发布时间: 20241101
...,与引擎示例中的效果不同,想知道为什么 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 如何截取小数点之前的数字 sprite设置了cacheas,removechild再addchild之后原先设置的cacheas无效,通过监测面板可以看到。请问...
来源: Laya_社区 发布时间: 20180613
...ader Please use LayaAir3D shader web端打包发布后能不能自动删除console.log 问题状态 最新活动: 2024-12-16 20:08 浏览: 7703 关注: 3 人 Heured • 2024-12-16 21:05 大佬,这个问题后面怎么决定的 https://ask.layabox.com/question/52914
来源: Laya_社区 发布时间: 20241209
... { console.log("parse fail " + error); } } } if (!data.url && !data._setContext){ 在onloaded中...
来源: Laya_社区 发布时间: 20200427
...环境找不到window---cant find variable: window stack laya如何重写console.log 打印错误跟信息到自己写的日志面板上 问题状态 最新活动: 2018-06-28 15:15 浏览: 1823 关注: 4 人
来源: Laya_社区 发布时间: 20180511
...ddChild(this.playerHB); } private aaa():void { this.playerHB.x += this.bb; console.log( this.playerHB.x); if(this.playerHB.x > 1000) { this.bb *= -1; } if(this.playerHB.x < -100) { this.bb *= -1; } } 控制一直6像素来回移动 它就会出现颤抖 不管几像素都会 附件 : --> testL...
来源: Laya_社区 发布时间: 20180102
...//把输入的角度值,转成弧度给_radian存起来。 } onStart() { console.log(this._radian); } } 2.4 是否为私有属性(影响面板可见) 除了前文中提到的hidden这个属性标识参数会影响属性在面板上是否可见之外。private参数也会影响属性在面板...
来源: Laya3.0_文档 发布时间: 20251010
...nd(x0 + r * Math.cos(hudu)); let y1 = Math.round(y0 + r * Math.sin(hudu)); console.log("Point :x=", x1, "y=", y1,"hudu=",a); return { x: x1, y: y1, hudu: a }; } 2019-06-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 ...
来源: Laya_社区 发布时间: 20190629