大约有 2,994 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)
Laya_社区(2435) Laya2.0_文档(172) Laya3.0_api(101) Laya_示例(79) Laya3.0_文档(70) Laya2.0_api(55) laya_api(42) Laya2.0_示例(40)
...怎么调用下载到本地的资源 cuixueying • 2017-05-18 17:10 Laya.loader.load可以对服务器的资源进行预加载,并缓存到本地,Laya.loader.getRes可以获取缓存下的资源文件! 我盼乙卯 • 2018-05-31 15:42 @cuixueying:请问这个缓存到本地是缓存到硬盘...
来源: Laya_社区 发布时间: 20170319
...ction clickFun():void { url = "res/CH/atlas/MORNUI_Z_Gongneng.atlas"; Laya.loader.load(url,new Handler(this,hh)); //trace( Laya.loader.getRes(url) ); } private function hh():void { Laya.stage.addChild(new Image("MORNUI_Z_Gongneng/clip_xue_quan.png")); Laya.timer.once(1000,1,ddd); } private function ...
来源: Laya_社区 发布时间: 20171206
...复问题请先登录 发起人 getstr88 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) unity导出粒子文件问题 加载到舞台的3D模型不显示贴图 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~...
来源: Laya_社区 发布时间: 20180403
workerLoader问题 版本:2.2.0beta1,ts_new 看代码 constructor(){ super(); this.worker = new Worker(WorkerLoader.workerPath); this.worker.onmessage = function(evt:any):void { //接收worker传过来的数据函数 (this as any as WorkerLoader).workerMessage(evt.data); } } 回...
来源: Laya_社区 发布时间: 20190802
...j.com/api/player/auth/img?key=testpng oppo小游戏下 无法显示 Laya.loader .load( "https://sh.mudgj.com/api/playe ... ot%3B, Laya.Loader.IMAGE ) .then((res: Laya.Texture) => { let sp = new Laya.Sprite(); sp.texture = res; sp.pos(0, 200); this.addChild(sp); });无法正常显示 检查发...
来源: Laya_社区 发布时间: 20250818
...Ani = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init));
来源: Laya_社区 发布时间: 20171116
...ibrary "D:\LayaWork\FlashDevelop - 5.2\Library" Building LayaSample mxmlc -load-config+=obj\LayaSampleConfig.xml -debug=true -incremental=true -swf-version=29 -o obj\LayaSample636377954440000000 Starting java as: java -Xmx384m -Dsun.io.useCanonCaches=false -Duser.language=en -Duser.region=US -Djava....
来源: Laya_社区 发布时间: 20170830
... ui.test.TestSceneUI { constructor(){ super(); //加载场景 Laya.Scene3D.load('LayaScene_test/Conventional/test.ls',Laya.Handler.create(this,this.onComplete)); } /** * 加载完成 */ private onComplete(scene:Laya.Scene3D):void{ // 将场景加到舞台上 Laya.stage.addChild(scene); } } } ``` 运...
来源: Laya2.0_文档 发布时间: 20210714
...面调试出现报错Uncaught (in promise) DOMException: play() Failed to load resource: net::ERR_FILE_NOT_FOUND 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds Uncaught TypeError: Cannot read property 'props' of undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide...
来源: Laya_社区 发布时间: 20170307
...; import laya.utils.Handler; /** * ... * @author ww */ public class TestTTFLoader { public function TestTTFLoader() { Laya.init(1000, 900); Laya.loader.load("res/remember.ttf",new Handler(this,test)); } private function test():void { var text:Text; text = new Text(); text.fontSize = 30;...
来源: Laya_社区 发布时间: 20191211