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

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

2281. laya.d3.core.light.LightSprite_API3.0 [ 51%]

...lf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new LightSprite(): LightSprite Overrides Sprite3D.constructor Defined in laya/d3/core/light/LightSprite.ts:135 创建一个 LightSprite 实例。 Returns LightSprite Properties Optional _extra _e...

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

2282. Uncaught RangeError:Array buffer allocation failed [ 51%]

...行报错 Uncaught Can not find scene:GameView.scene undefined Failed to load resource: net::ERR_FILE_NOT_FOUND 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of un...

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

2283. MiniAdpter.nativefiles 设置后并没有起作用 [ 51%]

...l/";   MiniAdpter.nativefiles=[  "res/media/",  "prefab/bb.json" ] Laya.Loader.load(...../); 2019-09-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 只有在微信小游戏中才有...

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

2284. laya3.0中jszip使用异常 [ 51%]

...代码为: let zipUrl = "resources/files/config.zip";         Laya.loader.load([{ url: zipUrl, type: Laya.Loader.BUFFER }], null, Laya.Handler.create(this, this.onLoadCfg, null, false)).then(             (value) => {                 JSZip.loadAsync(value).then(           ...

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

2285. Sprite.loadImage()中设置的y的值为Browser.ClientHight时不准确是为什么? [ 51%]

Sprite.loadImage()中设置的y的值为Browser.ClientHight时不准确是为什么? var dirBgLeft=cameraBgRight=20,dirBgBottom=20,dirBgSize=Browser.clientHeight*0.5,dirSpace=dirBgSize*0.2; var directionBg = new Sprite(); directionBg.loadImage("../bin/res/img/btn_direction$bg.png",dirBgLeft,Brows...

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

2286. 用IDE制作动画的问题,不知道算不算Bug [ 51%]

..., 无法添加新回复 发起人 流云 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) laya针对页游耗用内存大的问题是如何解决的? unity导出粒子文件问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16)...

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

2287. [LayaAir3]laya3.3图集使用平铺功能后绘制错误内容 [ 51%]

...t class Main extends Laya.Scene {     onAwake(): void {         Laya.loader.load("/未命名.atlas", Laya.Loader.ATLAS).then(data=>{             let aaa = new Laya.Sprite();             this.addChild(aaa);             aaa.x = 100;             aaa.y = 100;        ...

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

2288. 修复图片加载跨域问题 [ 51%]

修复图片加载跨域问题 使用loader.load加载图片出现跨域问题; 看了laya.core.js源码发现图片是用Image对象加载,按道理应该不会出现,尝试去除crossOrigin=""; 发现不出现跨域问题,微信头像可以正常加载 注释掉下面这几行 line:1104...

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

2289. 安卓微端弹出 LayaH5Market.js 的报错,应该怎么处理? [ 51%]

...出 Android Studio 项目,安装到手机上运行,在出现laya的loading界面之后就弹出了这个报错   提示 http://layamarket.layabox.com/LayaH5Market.js?rand=201606151103:396: TypeError: Cannot read property 'indexOf' of undefined if (location.search != "" || location.hash.inde...

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

2290. [LayaAir3]脚本集怎么用? [ 51%]

...e.log("Game start"); // 手动加载脚本集 const isSuccess = await Laya.loader.loadPackage("GScript"); // "GScript" 为分包目录名称 console.log(`isSuccess: ${isSuccess}`)  console.log("所有已注册类:"); const classMap = (Laya.ClassUtils as any)._classMap; for (const key in classMap) {...

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