大约有 342 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
...awTexture(t, 0, 0); oriDBArr[i] = g; } private function onClear():void { console.log(Laya.loader.getRes(_url)); Loader.clearRes(_url,true); console.log(Laya.loader.getRes(_url)); } 将一个大图截成多个小图纹理以后,截出来纹理内存好像不能释放, 如果强行调用t.dest...
来源: Laya_社区 发布时间: 20170224
...模式有问题吗? .laya文件夹过大,没有打包 console.log("目标所属的OWER"+this.owner.name + ""); console.log("目标所属的OWER:"+this.owner.name.slice(12,13) + ""); Laya.Scene.open("test/PuzzleScene"+this.owner.name.slice(12,13...
来源: Laya_社区 发布时间: 20201115
...Laya.loader.load("res/aaa.scene", Laya.Handler.create(null, (content)=>{console.log(content)})); Laya.loader.load("res/bbb.json", Laya.Handler.create(null, (content)=>{console.log(content)})); 2019-04-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已...
来源: Laya_社区 发布时间: 20190425
...e.play("idle", true); Laya.stage.addChild(sprite); console.log(sprite.getBounds()); console.log(sprite.width,sprite.height)); } 附件 : --> ZG.zip 2016-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20161108
...", Laya.Handler.create(this, (success) => { console.log("2.8.0 字体加载是否成功:", success); Laya.Text.defaultFont = "OPPOSANS-H"; }), null, Laya.Loader.TTF) 附件 : --> laya复现工程_2.6_.0和2_.8_.0_.zip 相...
来源: Laya_社区 发布时间: 20201118
...ndler.create(this, this.onProcess), null, 1, false); } onComplete(e,a,b) { console.log('资源加载完成!!',e,a,b); var cfg = Laya.Loader.getRes("config/data.txt"); console.log('cfg===',cfg, Laya.Loader.groupMap); } 2018-08-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20180816
...> { this.event(AppEvent.onShow, res); this.appStatus = AppEvent.onShow; console.log(this.appStatus, '---------'); Laya.stage.renderingEnabled = true//恢复渲染 Laya.updateTimer.resume() //恢复onUpdate Laya.timer.resume(); //恢复时间 Laya.timer.scale = 1; }) window['wx'].onHide(() => {...
来源: Laya_社区 发布时间: 20200917
... (zipData: JSZip) => { console.log(zipData.files); for (let i in zipData.files) { console.log(`key=${i},value=${zipData.files[i]}`); } ...
来源: Laya_社区 发布时间: 20230208
....MeshSprite3D = building.getChildByName( "fence15" ) as Laya.MeshSprite3D; console.log("-----"); console.log(building); console.log("-----"); console.log(moveArea); } private playRun(): void { this.animator.play("Running"); this.animator.speed = 1.0; } private playIdle(): void { this.animator.play("...
来源: Laya_社区 发布时间: 20200917
...n", Laya.Handler.create(this, function (obj) { console.log('hero',obj); }), null, Laya.Loader.PREFAB); Laya.loader.create("prefab/WeiTiao.json", Laya.Handler.create(this, function (obj) { console.log('WeiTiao',...
来源: Laya_社区 发布时间: 20211026