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

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

331. UI-RefreshList [ 63%]

... "#232628"; Laya.loader.load("res/ui/refreshList/ani/refresh.png", Handler.create(this, function(){ this.initView(); })); } initView(){ // 加载并添加场景中需要使用的资源 this.baseBox = new Box(); this.baseBox.width = 443; this.baseBox.height = 622; this.baseBox.pos(30, 28); this.baseB...

来源: Laya2.0_示例 发布时间: 20251219

332. 模型与动画的导入使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 63%]

...oader.load("girl/girl.lh").then(res => { let girl : Laya.Sprite3D = res.create(); this.scene3D.addChild(girl); //获得Animator this._animator = girl.getComponent<Laya.Animator>(Laya.Animator); }); this.on( Laya.Event.MOUSE_DOWN, this, this.switchAni ); } switchAni(): void { if (this._isRun...

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

333. 加载资源时同时加载两遍 [ 63%]

....name = "xx00"; var viewRect = new Rectangle(0,0,1080,1100); this.tiledmap.createMap("../laya/assets/map/beitianting.json",viewRect,Handler.create(this,onMapCreated)); }   仙魔世界测试.rar 2017-11-20 0 0 分享 微博 QZONE 微信 layaxiaohu 赞同来自: 主角图片没有显示出来 2017-1...

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

334. 微信小游戏加载 BitmapFont 问题 [ 63%]

...个文件的时候 Laya.loader.load([{ url: "button_font.fnt" }], Handler.create(null, onLoaded)); 图片里的 type="font",最终执行的 tempData=data.data; tempData 直接就是button_font.fnt里面内容的字符串类型MiniLoader.onReadNativeCallBack=function(encoding,url,type,cache,group,i...

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

335. laya空项目怎么加载unity带出的.ls文件 [ 62%]

...ne = Laya.Scene3D.load("LayaScene_xfg/layaScene.ls",Laya.Handler.create(this,function(_s){ Laya.stage.addChild(_s); })); 这样还是报错 说secne是void

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

336. 【简单跑酷--JS版】---Lv.3 添加地板 [ 62%]

...kground.png", "res/m_background.png", "res/floor.png"], laya.utils.Handler.create(this, onLoaded), laya.utils.Handler.create(this, onLoading, null, false)); 首先同样我们到runGame目录新建一个Floor.js 开始编写代码 这里 我们想一下地板有哪些功能? 1、自身从右到左...

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

337. 同步龙骨插槽动画方案 [ 62%]

...} }     xx{     this.mSketon = new MSketon(this.type, Laya.Handler.create(this, this.onSkeLoaded), 2);     Laya.timer.frameLoop(1, this, this.update); ..........................................................................................................................................

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

338. Dialog的创建问题 [ 62%]

...加了一个Dialog组件,我运行的时候,控制台会出现can not create:Dialog这样一句话 2018-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复   赞同来自: 请提供demo 2018-09-11 0 0 分...

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

339. 用户的反馈 [ 62%]

...回复问题请先登录 发起人 qq1037195898 相关问题 Laya.loader.create 不会反馈失败状态跟描述不符合 开发了一个斗地主游戏,想进行一下多用户测试,是不是要把服务器代码放在外网才行? 反馈一个ui生成json结构优化 LayaAir 1.0.3测试版...

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

340. 开发数据域报错wx.getFileSystemManager is not a function [ 62%]

...Laya.loader.load(["json/reward.json","res/atlas/test.atlas"],Laya.Handler.create(null,function(){//加载完成//使用接口将图集透传到子域Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); //使用接口将json投促函到子域Laya.MiniAdpter.sendJsonDataToDataContext("j...

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