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

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

421. LayaBox 出错啦,请把此信息截图给研发商 SimpleSingletonList [ 45%]

...rivate static SingletonList_expand(){         Laya.SingletonList.prototype["_remove"] = function(index){             // @xd added, 如果index == -1 不执行             if(index == -1){                 return;             }  ...

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

422. 使用Laya.loader.load加载Laya.Loader.FONT位图字体文件时就会出现无限循环加载,一直到浏览器奔溃 [ 45%]

...           this.onFontLoaded();         }), Handler.create(this, (progress) => {             console.log('bitmapFont loading', progress);         }, null, false));   this.bitmapFont = new BitmapFont(); }   onFontLoaded() { // 设置空格的宽 this.bitmapFont.setSpaceWidth(1...

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

423. 安卓上的百度小游戏,playMusic会出现多个背景音乐 [ 44%]

...游戏如何使用ttf字体? 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 微信小游戏:HTMLDivElement的使用 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 红米K20pro 多个手指同时按下就会报这个...

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

424. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 44%]

...ing="<data>"+ "<dir name='shi' num='10000' state='已集结' time_pro='' isOpen='true'>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"...

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

425. 使用Laya.loader.load加载Laya.Loader.FONT位图字体文件时就会出现无限循环加载,一直到浏览器奔溃 [ 43%]

...           this.onFontLoaded();         }), Handler.create(this, (progress) => {             console.log('bitmapFont loading', progress);         }, null, false));   this.bitmapFont = new BitmapFont(); }   onFontLoaded() { // 设置空格的宽 this.bitmapFont.setSpaceWidth(1...

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

426. Spine3D渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 42%]

...行时库版本。 代码动态添加的示例如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine3D: Laya.Spine3DRenderer; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { // ...

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

427. [0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. [ 41%]

...pineBinary {     constructor() {         this.aniPath = "res/powerup-pro.skel";         this.index = -1;         // Laya.init(Browser.width, Browser.height, WebGL);         // Laya.stage.scaleMode = Stage.SCALE_NOSCALE;         // Laya.stage.bgColor = "#232628";         // ...

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

428. Spine渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 41%]

...行时库版本。 代码动态添加的示例如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine: Laya.Spine2DRenderNode; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { // ...

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

429. 请问object层中添加的sprite怎么添加点击事件 [ 40%]

... 救命!canvas定位后 点击区域偏移,求大大们解答 红米K20pro 多个手指同时按下就会报这个错 object has in SimpleSingletonList 求指点3d射线碰撞和UI点击穿透的问题 关于遍历产生的sprite的点击事件,急,大神帮看哈 问题状态 最新活动: ...

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

430. [LayaAir3]3.3.0-beta.4已知新bug汇总 [ 40%]

... function (url: string, closeOther?: boolean, param?: any, complete?: any, progress?: any): Promise<Laya.Scene> { if (typeof (complete) === "function") { progress = complete; complete = null; } if (typeof (param) === "function") complete = param; if (progress instanceof Handler) { let h = prog...

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