大约有 2,782 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0068 秒)
Laya_社区(2462) Laya2.0_文档(107) Laya3.0_文档(59) Laya_示例(52) Laya3.0_api(51) Laya2.0_示例(43) laya_api(4) Laya2.0_api(4)
.../Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:467:29) at LoaderManager.__proto._endLoad (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:12533:12) at Loader.onLoaded (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:12510:11)...
来源: Laya_社区 发布时间: 20171118
...试过,发布到vivo真机调试,直接运行是没有问题的 Laya.loader.load([1.png,2.png,3.png]) 返回undefined Laya.loader.load("1.png") 加载返回false Laya.Texture2D.load("1.jpg") 加载返回undefined 求帮助 附件 : --> 2020-03-25 添加评论 已悬赏20元 --> 分享 微...
来源: Laya_社区 发布时间: 20200325
...efab。使用Laya.Sprite3D.load可以加载使用,但是当我使用Laya.loader.create,能加载出来,但是无法正常使用,会提示laya.core.js:12752 Uncaught TypeError: node._setParent is not a function 具体代码如下: Laya.Sprite3D.load(url, Laya.Hander.create(this, this.o...
来源: Laya_社区 发布时间: 20200313
... alive.push({url:"res/FGUIMain/Common_atlas0.png", type:Laya.Loader.IMAGE}); Laya.loader.load(alive, Laya.Handler.create(this, this.LoadFinish)); } private LoadFinish(success:boolean):void { if(success) { ...
来源: Laya_社区 发布时间: 20210618
...质 ```typescript //初始化3D场景 var scene = Laya.stage.addChild(Laya.Loader.getRes("res/threeDimen/scene/ChangeMaterialDemo/Conventional/scene.ls")) as Laya.Scene3D; //从场景获取球型精灵 this.sphere = scene.getChildByName("Sphere") as Laya.MeshSprite3D; //获取球型精灵自带的Bl...
来源: Laya2.0_文档 发布时间: 20210715
...的链接 提交 3 个回复 cuixueying 赞同来自: 189*****192 Laya.loader.load([{url:"res/atlas/comp.json",type:Loader.ATLAS},{url:"comp/btn_queding.png",type:Loader.IMAGE}], Handler.create(this, onAssetLoaded), null);comp.json是预加载的图集下的资源,你既然是不打包,表示...
来源: Laya_社区 发布时间: 20170607
... 2 个回复 兜里有糖。 赞同来自: Codee 加载的时候用 laya.loader.create 不用loader.load 试一下 2018-09-21 1 2 分享 微博 QZONE 微信 hj 赞同来自: 你发一下demo过来吧 2018-09-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前...
来源: Laya_社区 发布时间: 20180920
...c目录下。 参考:private function init(e:Event=null):void { var loader:Loader=new Loader(); var context:LoaderContext=new LoaderContext(false,ApplicationDomain.currentDomain); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onCom); loader.load(new URLRequest("datas.swf"),context)...
来源: Laya_社区 发布时间: 20151216
...型资源,加载后AddChild会报错,请教一下什么原因。 Laya.loader.create("laya_assert/LayaScene_role/role.lh", Handler.create(_instance, OnCreateComplete1)); private static function OnCreateComplete1():void{ trace("complete load role"); var sprite3D:Sprite3D = Laya.loader.getRes("laya...
来源: Laya_社区 发布时间: 20181117
... import Label = laya.ui.Label; import Handler = laya.utils.Handler; import Loader = laya.net.Loader; class TestUI extends ui.test.TestPageUI { constructor() { super(); var btn1=new ui.test.view_btnUI(); var btn1_btn:laya.ui.Button=btn1.getChildByName("btn") as laya.ui.Button; //问题一: 这里...
来源: Laya_社区 发布时间: 20170725