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

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

211. 导出的3D资源加载报错 [ 66%]

.../开启统计信息 Stat.show(); //预加载角色动画资源 Laya.loader.create("res/LayaScene_layaScene/layaScene.lh",Handler.create(this,onModelOK),null,Sprite3D); } private function onModelOK():void { //添加3D场景 var scene:Scene = new Scene(); Laya.stage.addChild(scene); //创建摄像机(...

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

212. ani 如何 更改某一帧的 skin ,, [ 66%]

...了 如何更改动画图片? 自定义组件发布之后报:can not create:ScaleButton ,发布之前正常,发布前后代码也被更改了 UI乱码,IDE版本更改回去也不行了 更改了宽高,调试自动变回去了 问题状态 最新活动: 2017-10-25 15:55 浏览: 1812 关...

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

213. 其他引擎的Demo-Example_23 [ 66%]

...= Stage.SCREEN_HORIZONTAL; Laya.stage.scaleMode = Stage.SCALE_NOBORDER; // create a background texture Laya.stage.loadImage("../../res/pixi/laserBG.jpg"); Laya.stage.frameLoop(1, this, animate); })(); function animate() { if (tick > frequency) { tick = 0; // iterate through the dudes and update the ...

来源: Laya_示例 发布时间: 20251209

214. 直接new sprite 跟graphics.drawTexture 有什么区别 [ 66%]

...集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.create和new Laya.Handler有啥区别 LayaAir使用AS语言能直接挂断点吗? 关于几种文本的区别与用法 3d支持直接调手机的拍照和上传功能吗 Mesh.load()必须加载lm文件吗?lm和lh等有什...

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

215. 微信小游戏中不能加载proto文件 [ 66%]

...tain a message type var AwesomeMessage = root.lookup("msg.LoginReq");  // Create a new message var message = AwesomeMessage.create( { openid: "AwesomeString" });  console.log(message.openid) // Verify the message if necessary (i.e. when possibly incomplete or invalid) var errMsg = AwesomeMessage.v...

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

216. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 66%]

...yaAir3D constructer start loadres url:", this._sceneURl); Laya.loader.create([{url:this._sceneURl, clas:MyScene}], Laya.Handler.create(this, this.loadComplete)); } private loadComplete():void { console.log("debuginfo LayaAir3D constructer loadres complete"); this._scene = MyScene.load...

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

217. Laya.Script的派生类的_update函数不工作? [ 66%]

...法正常工作,已测试三台机器均无法正常工作 Laya.loader.create 进度回调函数执行两次 FBXTools.exe把模型拖上去就停止工作,不清楚是什么原因? 构造函数不能进断点 引擎有没有管理或访问系统剪贴板的方法函数 layaair在开发阶段...

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

218. 求救:proto解析 _i会变成I [ 66%]

....lookup("protocols.packetc2g_select_gate"); var newMessage:any = msgDefine.create(); } 然后发现里面的成员名字都变了 “_i”变成了大写的“I” 2017-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

219. SCALE_FIXED_WIDTH适配屏幕的问题 [ 66%]

...         Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame));         }         private loadGame(): void {             var resArray = [                 { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS },        ...

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

220. 鼠标交互-拖动 [ 66%]

...howall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(ApePath, Handler.create(this, setup)); })(); function setup() { createApe(); showDragRegion(); } function createApe() { ape = new Sprite(); ape.loadImage(ApePath); Laya.stage.addChild(ape); var texture = Laya.loader.getRes(ApePath); ape.pivot...

来源: Laya_示例 发布时间: 20251209