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

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

3761. 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

3762. 求问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

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

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

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

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

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

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

3765. 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

3766. 动态加载的 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

3767. 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

3768. 我想问下如果要调用手机本地相册,能不能用HTMLDivElement?该怎么用 [ 48%]

...); } //把base64添加到图片上 img.src = base64; }; file.readAsDataURL(this.files[0]); }); </script> 能不能通过这种方法把他转换成canvas里的image再显示在舞台上。 2017-01-11 0 1 分享 微博 QZONE 微信 AllenYT 赞同来自: 您好  成功了嘛  怎么调用的 2...

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

3769. laya.d3.core.BaseCamera_API3.0 [ 48%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(n...

来源: Laya3.0_api 发布时间: 20231115

3770. layaAirIDE 打包APK 后 真机运行报错 [ 48%]

...e;Laya.stage.addChild(i)}!function(){createApes()}(function(){function i(){this.BG_WIDT ReferenceError: createApes is not defined at BG_WIDTH (http://stand.alone.version/main.min.js:1:149) at eval (http://stand.alone.version/main.min.js:1:162) at eval (native) at Document._downloadOk (apploader.js:6...

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