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

大约有 717 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0044 秒)

431. 动画不显示 [ 60%]

...             {                     urls.push("Res/atlas/array/stand/" + ((dir*4) + i) + ".png");                 }                 for (var j:int = 0 ; j < 8 ; j ++)                 {                     urls.push("Res/at...

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

432. radioGroup设置labels后,每个radio的icon皮肤无法显示了 [ 60%]

...没有显示了,代码如下: 在入口文件: Laya.loader.load("res/atlas/template/QuestionDialog.atlas", Handler.create(null)); 对应的场景代码里: var dialog = new QuestionDialogUI();          Laya.stage.addChild(dialog);          dialog.popup();          dia...

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

433. 分享-js资源进度加载 [ 60%]

...示帧频信息 Laya.Stat.show(); //加载进度ui var arr = [{ url: "res/atlas/Progress.json", type: Laya.Loader.ATLAS }]; Laya.loader.load(arr, Laya.Handler.create(this, this.onProgress)); } onProgress() { this.Progress = new Progress(); Laya.stage.addChild(this.Progress); //加载资源进度并...

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

434. 单选框组件 · LayaAir3.0文档 · LAYABOX [ 60%]

...建完毕,此方法只执行一次 onAwake(): void { this.radio.skin = "atlas/comp/radio.png"; //皮肤 this.radio.stateNum = 3; //皮肤状态 this.radio.label = "确定"; //文本标签 this.radio.labelFont = "宋体"; //文本标签字体 this.radio.labelSize = 20; //文本标签字体大小 th...

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

435. webgl 下当对象子显示对象存在panel且panel有子集时,旋转此显示对象会导致此显示对象的同级对象消失!(1.7.10beta) [ 60%]

...; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.loader.load([{url:"res/atlas/comp.json",type:Laya.Loader.ATLAS}],Laya.Handler.create(this,this.loadComp)); } private loadComp():void{ var parent:ui.ParentViewUI = new ui.ParentViewUI(); Laya.stage.addChild(parent); //当注释掉设置rotaion的代...

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

436. 动效模板(JavaScript-LayaAir基础篇(JS)-动画基础) [ 59%]

...源,加载成功后将UI界面添加到舞台上 Laya.loader.load("./res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ //实例化导出的UI类 var efc = new ui.TestPUI(); //添加到舞台 Laya.stage.addChild(efc); } ``` 运行后,按钮被按下时,动画效果...

来源: Laya2.0_文档 发布时间: 20210715

437. 动效模板(TypeScript-LayaAir基础篇(TS)-动画基础) [ 59%]

...源,加载成功后将UI界面添加到舞台上 Laya.loader.load("./res/atlas/ui.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //实例化导出的UI类 var efc:ui.EffectAnimationDemoUI = new ui.EffectAnimationDemoUI(); //添加到舞台 Laya.stage.addChild(efc); } }...

来源: Laya2.0_文档 发布时间: 20210715

438. 动画实例在调用含有名字参数的时候获取不到边界 [ 59%]

...n()); this.loadUnit(); } loadUnit(){ for(let i of this.playerUnit ){ i.loadAtlas("./character/m1.atlas",Laya.Handler.create(this,this.playerUnitLoaded)); } for(let i of this.enemyUnit){ i.loadAtlas("./character/m1.atlas",Laya.Handler.create(this,this.enemyUnitLoaded)); } } player...

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

439. 关于LayaAir IDE使用工具图集打包无生成文件的问题 [ 59%]

...a_15.png R 1375BB85 chara_16.png     未见生成合成的png文件以及atlas 或 json ,请问如何处理, ide版本号1.7.11beta   附件 : --> 2017-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 8 个回复 w...

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

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

...的话,会有资源load不上来,报错:[error]Failed to load: res/atlas/test.atlas H5_Gamker • 2020-06-23 19:55 是不是换了适配库之后外面有些调用会对不上 157*****593 • 2020-06-23 20:16 清理一下缓存 H5_Gamker • 2020-06-24 09:33 换了新的库之后,之前的...

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