大约有 1,374 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(1168) Laya2.0_文档(69) Laya3.0_文档(67) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
... ], Laya.Handler.create(this, this.onLoaded)); Laya.core.js 调试log __proto._endLoad=function(resInfo,content){ var url=resInfo.url; //输出//////////////////////////////// console.log("url:"+url); content==null?console.log("content null"):console.log("content not null"); //输出///////...
来源: Laya_社区 发布时间: 20200429
... conch.setDeviceOrientation({ value: value, success: function () { console.log("success"); }, fail: function () { console.log("fail"); }, complete: function () { console.log("complete"); }, }); Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2026-01-28 15:12:31...
来源: Laya3.0_文档 发布时间: 20260128
...要用不同主体,拿就混淆代码,,这里有个文章:https://blog.csdn.net/linguifa ... 87065 2020-07-18 0 0 分享 微博 QZONE 微信 187*****978 赞同来自: *文章的意图为解决工作中遇到的问题,请开发者把技术用到正确的方向** 文章原文 https://blog.cs...
来源: Laya_社区 发布时间: 20190613
....Pool.getItemByClass("mybg",BackGround); Laya.stage.addChild(bg1); console.log("bg1->",bg1); //对象放回Pool里,并清除对象 Laya.Pool.recover("mybg",BackGround); bg1.removeSelf(); Laya.stage.removeChild(bg1); console.log("bg1->",bg1); //再次从Pool里获取对象的时候,就报...
来源: Laya_社区 发布时间: 20180823
...der.loadPackage("sub1111").then(() => { console.log('pack sub1 loaded'); new Subpack1().init(); }, (err) => { console.log('pack sub1 error', err); }); 2025-09-09 添加评论 免费帖 -...
来源: Laya_社区 发布时间: 20250909
... for(var i = 0; i < this.numChildren; i++) { console.log(this.numChildren); var item = this.getChildAt(i); if(item instanceof Item) { item.removeSelf(); item.visible = true; ...
来源: Laya_社区 发布时间: 20170113
...方使用会报错 module bili{ export class Test{ constructor(){ console.log("Test"); } } } 2018-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 牛唠叨 赞同来自: Chiuan 其实就是那个2.0的啥gulp...
来源: Laya_社区 发布时间: 20180926
...orm.localPositionX += 0.016; res2.transform.position.x += 0.016; console.log("本地坐标1:", res1.transform.localPosition); console.log("世界坐标1:", res1.transform.position); console.log("本地坐标2:", res2.transform.localPosition); console.log("世界坐标2:", res2.transform.position);...
来源: Laya_社区 发布时间: 20190717
...s.onmousemove); apesCtn.addChild(img); ........ onmousemove(e) { //console.log("e="+JSON.stringify(e)); for (var property in e) { console.log(property+"="+e[property]); } console.log("========================"); /**这里是运行后,在img上拖动给出的属性,没有鼠标的xy的坐标 * * ...
来源: Laya_社区 发布时间: 20181031
...位:毫秒) ani.index = 0; // 当前播放索引 console.log(ani.index); ani.play(); console.log(ani.index); var bounds = ani.getGraphicBounds(); ani.pivot(bounds.width / 2, bounds.height / 2); ani.pos(Laya.stage.width / 2, Laya.stage.height / 2); console.log(...
来源: Laya_社区 发布时间: 20160712