• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,363 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0055 秒)

481. layaBOX实时语音聊天与微信登陆接口分享 [ 65%]

...端的SDK会用到这些TOKEN YIM.AddUserAuth(obj,function(res){ console.log(res); }) router.get('/', function (req, res, next) { //微信签名验证 YIM.WXCheckSignature(req,token,function(err,rows){ if(err){ res.send("error"); }else{ res.send(rows); } }) }); router.get('/token', function (req, re...

来源: Laya_社区 发布时间: 20170722

482. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 65%]

... please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; export module ui.test { export class TestSceneUI extends Laya.Scene {         public scoreLbl:Laya.Label;         public ...

来源: Laya_社区 发布时间: 20190402

483. 我在dialog a上继续弹出dialog b 。需要关闭b的时候,a依然存在。怎么做? [ 64%]

我在dialog a上继续弹出dialog b 。需要关闭b的时候,a依然存在。怎么做? 我在ide中做了一个基础scene 1,一个dialog a 和一个dialog b。 从1,点击,弹出a;没问题; 从a,点击,弹出b,没问题。 但是我需要在操作b的时候,a一直存在...

来源: Laya_社区 发布时间: 20190521

484. 龙骨换肤出现问题,这个问题论坛有人问过,然后说处理没有下文了?已上传demo,求解决 [ 64%]

...0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: onGreen(){ console.log("换成绿锤子") this.greenPitchUp.visible=true; this.bluePitchUp.visible=false; let player=Player.instance; // player.anSk.showSlotSkinByIndex("HarmGreen",1); player.anSk.replaceSlotSkinByIndex("HarmGreen",1,0);//这...

来源: Laya_社区 发布时间: 20181114

485. putimagedata 不起作用 [ 64%]

...Color = "#232628"; showApe(); })(); function distort (imageData) { console.log(imageData) var data = imageData.data, copy = Array.prototype.slice.apply(data, [0]), w = imageData.width, h = imageData.height, i = 0, l = data.length, x, y, d for (i; i < l; i += 4) { if (data[i]!== 0) { console.log(d...

来源: Laya_社区 发布时间: 20171130

486. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...er = assets.length; i<len; ++i) { var asset:string = assets[i]; //查看log,清理前资源一直在内存中 console.log(Laya.loader.getRes(asset)); //调用清理方法 Laya.loader.clearRes(asset); //查看log,清理后,资源被卸载 console.log(Laya.loader.getRes(asset)); } }); 1.4 关...

来源: Laya3.0_文档 发布时间: 20251010

487. 【求助】关于Cannot read property 'visible' of undefined问题 [ 64%]

...st); addFoodListener(); } private function addFoodListener():void{ console.log(foodsList[this.index]); this.currentFood = this.foodsList[this.index]; console.log(currentFood); this.currentFood.on(Event.MOUSE_DOWN, this, onMouseDown); this.currentFood.on(Event.MOUSE_UP, this, onMouseUp); }currentFood...

来源: Laya_社区 发布时间: 20180405

488. Laya2.2.0,官方demo,Iphone Xs Max 14.0 锁屏小游戏卡死 [ 64%]

...ined 关于Laya实现Matter.js官方案例凹多边形的问题 [分享]Dialog 点击边缘不关闭的 Demo示例 Native2.0正式版wss连接不成功web版本没问题,有DEMO LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, Laya 鼠标Cursor怪异问题,有demo 官...

来源: Laya_社区 发布时间: 20200917

489. 重发问题: 点击页面会导致setTimeout setInterval 延迟执行 [ 64%]

...val明显延迟执行; Laya.stage.on('click', null, function (e) { console.log.log(`click`); }); 即使我将所有的事件绑定全部注释掉频繁的点击页面也会卡住!!!!! 我在事件的处理函数中设置stopPropagation没有任何作用; 现在这个是一个很大的问题, 不知...

来源: Laya_社区 发布时间: 20170323

490. UI运行时 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...ss NewScript extends Main { private ui: RuntimeScript; onStart() { console.log("Game start"); this.ui = this.owner.scene as RuntimeScript; super.baseUI(this.ui); } } import { Main } from "./Main"; import { ButtonRuntime } from "./ButtonRuntime"; const { regClass, property } = Laya; @regClass() expor...

来源: Laya3.0_文档 发布时间: 20251010