大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...ler.create(this, this.onAssetLoaded), Handler.create(this, this.onLoading, null, false), Loader.TEXT); // 侦听加载失败 Laya.loader.on(Event.ERROR, this, this.onError); } onAssetLoaded(texture) { // 使用texture console.log("加载结束"); } // 加载进度侦听器 onLoading(progress) { cons...
来源: Laya2.0_示例 发布时间: 20251219
...数据自动传递到子域,默认 false Static loader loader: Loader = null Defined in Laya.ts:58 加载管理器的引用。 Static stage stage: Stage = null Defined in Laya.ts:49 舞台对象的引用。 Static timer timer: Timer = null Defined in Laya.ts:56 游戏主时针,同时也是管理...
来源: Laya3.0_api 发布时间: 20231115
... super(); Config.isAlpha = true; Laya.init(480, 900); Laya.stage.bgColor = null; //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加照相机 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))); camera.tr...
来源: Laya_社区 发布时间: 20201021
...s/game_13/image.atlas"} ]; Laya.loader.load(loadArray, Handler.create(null, ()=>{ this.uiView = new SharkItOff(); Laya.stage.addChild(this.uiView); })); 先加载图集,图集加载完再new一个界面。但是界面里的图片都不显示 thekingreturn • 2018-03-27 20:42 [warn]Retry t...
来源: Laya_社区 发布时间: 20180327
...ure(tex, bmpid, pos[ipos++] + tx, pos[ipos++] + ty, tex.width, tex.height, null, null, 1.0, false); 附件 : --> 2022-06-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_z 赞同来自: 这里确实存在...
来源: Laya_社区 发布时间: 20220622
...? 通过 Laya.loader.load("res/atlas/公告.json", Laya.Handler.create(null, onLoad), null, Laya.Loader.ATLAS); 这样加载的图集资源怎么清除掉??? 2018-01-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...
来源: Laya_社区 发布时间: 20180124
...。 Public Properties PropertyDefined By collider : PhysicsComponent = null 发生碰撞的碰撞组件。HitResult hitFraction : Number = 0 碰撞分数。 HitResult normal : Vector3 碰撞法线。HitResult point : Vector3 碰撞点。HitResult succeeded : Boolean = false 是否成...
来源: Laya2.0_api 发布时间: 20190513
...oDesignIndex(index)]._childs[0].loadAtlas("res/atlas/ui/ani/"+sex1+".json",null,""); //加载动画 添加 “null ”不是不缓存了 看了api文档 还是不理解 怎样才能彻底清除动画缓存 2018-03-31 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20180331
....socket.send(byte.buffer); } } private function openHandler(event:Object = null):void { //正确建立连接; trace("openHandler.."); } private function receiveHandler(msg:Object = null):void { ///接收到数据触发函数 trace("receiveHandler msg:",msg); this.byte.clear(); this.byte.writeArray...
来源: Laya_社区 发布时间: 20180202
... Image at 'file:///E:/study/LayaAirStudy/bin/h5/res/soil.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access. 2017-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20170116