大约有 521 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
Laya_社区(400) Laya2.0_文档(39) Laya3.0_api(32) Laya_示例(19) Laya3.0_文档(15) Laya2.0_示例(9) laya_api(5) Laya2.0_api(2)
...imer 中,有个两帧之间的时间间隔,单位毫秒number,似乎是Create传进去的? ------------------------------------------- declare module laya.utils { /** * <code>Timer</code> 是时钟管理类。它是一个单例,可以通过 Laya.timer 访问。 */ class Timer { pri...
来源: Laya_社区 发布时间: 20171109
...= 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_示例 发布时间: 20260303
...了 如何更改动画图片? 自定义组件发布之后报:can not create:ScaleButton ,发布之前正常,发布前后代码也被更改了 UI乱码,IDE版本更改回去也不行了 更改了宽高,调试自动变回去了 问题状态 最新活动: 2017-10-25 15:55 浏览: 1812 关...
来源: Laya_社区 发布时间: 20171024
...集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.create和new Laya.Handler有啥区别 LayaAir使用AS语言能直接挂断点吗? 关于几种文本的区别与用法 3d支持直接调手机的拍照和上传功能吗 Mesh.load()必须加载lm文件吗?lm和lh等有什...
来源: Laya_社区 发布时间: 20170811
...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
...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
...法正常工作,已测试三台机器均无法正常工作 Laya.loader.create 进度回调函数执行两次 FBXTools.exe把模型拖上去就停止工作,不清楚是什么原因? 构造函数不能进断点 引擎有没有管理或访问系统剪贴板的方法函数 layaair在开发阶段...
来源: Laya_社区 发布时间: 20180614
....lookup("protocols.packetc2g_select_gate"); var newMessage:any = msgDefine.create(); } 然后发现里面的成员名字都变了 “_i”变成了大写的“I” 2017-09-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20170914
...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_示例 发布时间: 20260303
... 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