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

大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0059 秒)

3751. skin加载url资源不会刷新 [ 48%]

...Laya.loader.load("http://10.144.1.20:8081/files/ ... ot%3B, Handler.create(this, function (): void {             var t: Texture = Laya.loader.getRes("http://10.144.1.20:8081/files/ ... 6quot;);             var ape: Sprite = new Sprite();             ape.graphics.drawTexture(t, 0, 0...

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

3752. 手机非谷歌浏览器,出现TypeError: Invalid value used as weak map key异常 [ 48%]

...异常:TypeError: Invalid value used as weak map key异常。   try { this.ui = new ui.app.GameHallUI(); // laya IDE生成的UI代码 }catch(e){ }   2017-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cu...

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

3753. 在手机QQ浏览器上,在loop循环里修改inputText的位置会使inputText不显示,在电脑上和手机内置浏览器都是正常的 [ 48%]

...正常的 qq浏览器版本:安卓 8.1.3.3851 Laya.timer.frameLoop(100, this, function () { inputText.y = Laya.Browser.height-100; }); 2018-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同...

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

3754. TypeError: Cannot read properties of null (reading '_$id') [ 48%]

..._InPool为null Load.loader.getRes返回都是Null 莫名其妙的报错,this.getStyle()是null Error processing "launch": Error: 找不到文件: null 请设置文件配置文件属性runtimeExecutable 求助大佬,同一个spine动画播放偶尔会出现getAnimationCount of null的问题 设...

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

3755. 求问sprite放大后,graphics绘制的图像位置偏移 [ 48%]

...ite: Sprite = new Sprite(); let texture: Laya.Texture = Laya.loader.getRes(this.skin_img1); sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.height); sprite.size(texture.width, texture.height); let x: number = 300; let y: number = 100; let scaleRatio: number = 1.3; sprite.pos(x, y);...

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

3756. 关于loader加载Loader.JSON的一些问题 [ 48%]

...现一个奇怪的问题: Laya.loader.load(resUrl, Laya.Handler.create(this, function (res) { //解析题目 log(res);   //放置方块 }), null, Laya.Loader.JSON); }   代码运行到这老是报错,报错原因是有不认识的字符,我想了下,resUrl指向的是本地的一个JSON文...

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

3757. [LayaAirIDE3]【Laya3.1.1】TextInput调用focus移动端不能弹出系统键盘 [ 48%]

...键盘 问题一:TextInput调用focus移动端不能弹出系统键盘 this.GetTextInput('tiInput').focus = true;   调用后pc端和移动端都会出现光标聚焦效果,但是移动端没有调用出系统键盘。   问题二:主动点击TextInput调用系统键盘后,通过resize 监...

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

3758. Uncaught unknown animationClip version. [ 48%]

...cene3D.load("LayaScene_scene1/Conventional/scene1.ls", Laya.Handler.create(this, function (s: Laya.Scene3D): void { var scene = s; Laya.stage.addChild(scene);         }));   加载代码 2019-03-13 0 0 分享 微博 QZONE 微信 Zong 赞同来自: 断点调试显示clip.version = "LAYAANIMA...

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

3759. 动态加载的 animation第二次加载的时候不显示 [ 48%]

...name); item.x=60+(i-1)*120; item.y=y; item.size(80,80); item.name=aniname; this.doworkui.addChild(item);   2017-11-06 0 0 分享 微博 QZONE 微信 ysshao 赞同来自: 实际上这些animation是存在的,我可以通过play播放的,但是就是看不叫! 2017-11-06 0 0 分享 微博 QZONE 微...

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

3760. LayaAir3D Warning : MyWater must config in CustomShaderConfig File. [ 48%]

...出和使用U3D粒子特效 GradientDataNumber warning是什么 Warning!,this class[MiniAdpter] already exist: Object {init: } Failed to load resource: net::ERR_FILE_NOT_FOUND LayaAir3D 3D射击游戏 物体移动碰撞穿透问题 LayaAir3D 3D射击游戏 物体移动碰撞穿透问题 【已解决...

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