大约有 744 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0062 秒)
Laya_社区(536) Laya2.0_文档(76) Laya_示例(48) Laya2.0_示例(39) Laya3.0_文档(24) Laya3.0_api(19) laya_api(1) Laya2.0_api(1)
...yaair中类的大小写规则有没有基本的说明文档 比如: Laya.loader.load("res/atlas/comp.json", Laya.Handler.create(null, onLoaded), null, Laya.Loader.ATLAS); Laya.loader.load(resArray, Laya.Handler.create(null,onLoaded)); loader与handler 2017-03-16 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20170316
...this._container = new Sprite(); Laya.stage.addChild(this._container); Laya.loader.load(["../bin/res/ui/progressBar.png", "../bin/res/ui/progressBar$bar.png"], Handler.create(this, this.onPreloaded)); }; LoadResource.prototype.onPreloaded = function () { this.initLoadData(); }; LoadResource.prototype...
来源: Laya_社区 发布时间: 20200924
...e(); // 守护神 this.angel = new Sprite(); // 加载主体的背景 Laya.loader.load("res/island.png", Handler.create(this, function() { // 图片加载 var t = Laya.loader.getRes("res/island.png"); var tBall = Texture.create(t,866,190,548,305); var tTower = Texture.create(t,data.tower[towerLel].x...
来源: Laya_社区 发布时间: 20170720
...res/3d/Player.zip,则使用方法为[code]// Laya 2.x及以下版本 Laya.loader.create([{ url: "res/3d/Player.zip", type: LayaZip.ZIP}])[/code][code]// Laya3.x版本 Laya.loader.load([{ url: "res/3d/Player.zip", type: LayaZip.ZIP}])[/code] 加载资源使用:[code]// Laya 2.x及以下版本 let pla...
来源: Laya_社区 发布时间: 20230316
...ra 和light,所有代码如下 import Handler=laya.utils.Handler; import Loader=laya.net.Loader; // 程序入口 class GameMain { constructor() { Laya.init(600, 400); Laya.stage.scaleMode = Laya.Stage.SCALE_EXACTFIT; Laya.stage.screenMode = Laya.Stage.SCREEN_VERTICAL; Laya.stage.alignH = Laya.Stag...
来源: Laya_社区 发布时间: 20171227
...); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaM...
来源: Laya_示例 发布时间: 20251130
...) at ResInfo.__proto.event (http://127.0.0.1:62629/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:62629/game/code.js:13152:11) at Loader.onLoaded (http://127.0.0.1:62629/game/code.js:13128:10) at EventHandler.__proto.runWith (http://127.0.0.1:62629/game/code.js:711:59) at L...
来源: Laya_社区 发布时间: 20180323
...ash起,就一直存在的bug 1.7.20beta有bug,帧属性面板打不开 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug EffectAnimation Bug image loadimage 加载网络图片BUG 2.3.0发布微信小游戏,自动缓存:查找不到...
来源: Laya_社区 发布时间: 20181124
如何判断加载资源是否成功? Laya.loader.load(["res/book00"+2+".txt"], Laya.Handler.create(this, onLoaded(i))) 2018-04-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: Laya.loade...
来源: Laya_社区 发布时间: 20180406
...Mode="horizontal"; //加载FGUI中的文件 var ProgressBar,resArray; Laya.loader.load([ {url:"res/Public.fui",type:laya.net.Loader.BUFFER}, {url:"res/Public@atlas_ucn9w.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas_ucn90.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas0.png",type...
来源: Laya_社区 发布时间: 20171207