大约有 1,013 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0060 秒)
...出错误 List下使用 localToGlobal 获取坐标错误 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 空项目的情况下面ios打包出现链表错误 IOS使用Laya.GeoLocation错误 Unity导出有光照贴图时,出现错误:ArgumentException: Invalid path ...
来源: Laya_社区 发布时间: 20180227
... ani.once(Laya.Event.LOADED,null,function(ani1){ console.log(ani1.getGraphicBounds()); }); 这样写的话监听不到 2017-06-28 0 1 分享 微博 QZONE 微信 cuixueying 赞同来自: 你用Laya.timer.once加个延迟看下呢? 2017-06...
来源: Laya_社区 发布时间: 20170628
... } else { Laya.stage.removeChild(scene3D); } console.log(str); }); 每次删除scene3D后又被添加进来了。不知道什么原因,是stage中的scene不能被删除吗? 2017-10-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20171016
...s.turnNumber== 3) { NTS = 16; NTE = 13; } this.SortToOut(this.turnNumber); console.log(this.nextTurn); if (this.isAbleToOut) { this.computerOutPoker(this.turnNumber); switch(this.turnNumber) { case 1: this.setLableText("小明出牌了") break; case 2: this.setLableText("小红出牌了") break; cas...
来源: Laya_社区 发布时间: 20180626
...须拥有碰撞组件(Collider) //当被鼠标点击 onMouseDown(e){ //console.log("点击到了我box",owner.name); //从父容器销毁我自己 this.owner.removeSelf(); } } ``` > **主类**: ```typescript //给四个猴子添加脚本 this.staticLayaMonkey.addComponent(MouseScript); this.laya...
来源: Laya2.0_文档 发布时间: 20210715
...am.end); skinAni.player.on(Laya.Event.COMPLETE, null, function(){ console.log("COMPLETE"); }); 2017-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 只播放一次获取...
来源: Laya_社区 发布时间: 20170314
...pe:"test"}; window.conchMarket.login(JSON.stringify(sData),function(data){ console.log(data); // TODO 数据处理. }); 调用conchMarket出错 2017-11-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 浪货...
来源: Laya_社区 发布时间: 20171129
...aya.Stat.show(0, 0); Laya.stage.on(Laya.Event.RESIZE, Laya.stage, ()=>{ console.log(111) Laya.stage.width = 600 * Laya.Browser.pixelRatio; }) } } new GameMain(); 2018-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20180525
...018-09-17 0 4 分享 微博 QZONE 微信 伯恩 赞同来自: Ts 语言的 console.log('没有用了');???????????????? 2018-09-17 0 1 分享 微博 QZONE 微信 dcxin 赞同来自: compile.js编译脚本里把sourcemap设为true。 2019-08-14 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180917
...Main extends Laya.Script { private aStarInstance: AStarFinder; onStart() { console.log("Game start"); // 0表示通路,1表示障碍 let myMatrix = [ [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 1, 1, 0, 1, 1, 0], [0, 0, 1, 0, 0, 0, 1, 0], [0, 0, 0, 0, 0, 0, 1, 0], [1, 1, 1, 0, 1, 0,...
来源: Laya3.0_文档 发布时间: 20230813