大约有 1,751 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)
Laya_社区(1103) Laya2.0_文档(182) Laya3.0_api(114) Laya2.0_api(105) Laya2.0_示例(83) Laya_示例(70) laya_api(64) Laya3.0_文档(30)
...threeDimen/scene/LayaScene_AnimationEvent/Conventional/layaScene.ls", Laya.Handler.create(this, function(scene) { Laya.stage.addChild(scene); //获取cube对象 var cube = scene.getChildByName("Cube") as Laya.Sprite3D; //添加组件(脚本) var _script = cube.addComponent(SceneScript) as SceneScrip...
来源: Laya2.0_文档 发布时间: 20210715
...信 风神 赞同来自: 第二项没渲染出来原因是忘记设置Laya.handler 的 once ,不过列表滚动后,依然覆盖数据。 2021-04-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 风神 相关...
来源: Laya_社区 发布时间: 20210412
... at LayaUISample.__proto.onLoaded (LayaUISample.max.js:1135) at Handler.__proto.runWith (LayaUISample.max.js:701) at ResInfo.loadComplete (LayaUISample.max.js:18073) at EventHandler.__proto.runWith (LayaUISample.max.js:702) at ResInfo.__proto.event (LayaUISample.max.js:4...
来源: Laya_社区 发布时间: 20180725
...BitmapFont(); this.mBitmapFont.loadFont("../laya/assets/txt.fnt", new Laya.Handler(this.onLoaded)); } private onLoaded():void { this.init(); } private init():void { this.mBitmapFont.setSpaceWidth(10); Laya.Text.registerBitmapFont(this.mFontName, this.mBitmapFont); var txt:Laya.Text = new Laya.Text()...
来源: Laya_社区 发布时间: 20171028
【vivo】2d图集加载不上 Laya.loader.load(url,Handler.create(this,onLoadComplete),null,Loader.ATLAS); 用Loader.ATLAS图集类型加载失败 附件 : --> myLaya.zip 2019-11-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20191106
... at _onHierarchyInnerFirstLevResouLoaded (libs/laya.d3.js:32688) at Handler.runWith (libs/laya.core.js:1000) at libs/laya.core.js:19383 2020-12-04 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 二十五 相关问题 unity导...
来源: Laya_社区 发布时间: 20201204
...dpter 添加 static downLoadFile(fileUrl:string, fileType:string, callBack:Handler, encoding:string) 声明,在使用的时候,报错。 ReferenceError: wx is not defined at Function.<anonymous>(file:///D:work/laya/laya3D/bin/lib/laya.wxmini.js:504:123) 2018-06-05 添加评论 免费帖 --...
来源: Laya_社区 发布时间: 20180605
...问题中有介绍方法 {Laya.loader.create("prefab/预设名字.json",Handler.create(this,onComplete));}private function onComplete(obj:Object):Void{一个预设变量.json = ojb一个sprite = Pool.getItemByCreateFun("自己起一个名字", this.一个预设变量.create, this.一个预设变...
来源: Laya_社区 发布时间: 20181204
...uper(); Laya.loader.load([{url:"res/213.part",type:Laya.Loader.JSON}],Laya.Handler.create(this,this.onAssetsLoaded)); } onAssetsLoaded(){ let pg = Laya.loader.getRes("res/213.part"); let pd = new Laya.Particle2D(pg); } }213.part是设计模式下生成 附件 : --> 2018-11-20 添加评论 免费...
来源: Laya_社区 发布时间: 20181120
...nnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = tex; })); material.albedoColor = new Laya.Vector4(1.0, 1.0, 1.0, 0.5); material.renderMode =...
来源: Laya_社区 发布时间: 20190126