大约有 1,587 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0206 秒)
Laya_社区(1114) Laya2.0_文档(231) Laya_示例(108) Laya2.0_示例(69) Laya3.0_文档(52) Laya3.0_api(11) Laya2.0_api(2)
...错 代码如下: this.ani = new Laya.Animation(); this.ani.loadAtlas("res/atlas/comp.json", Laya.Handler.create(this, showApe)); function showApe(){ this.ani.loadAnimation("TimeLine.ani"); Laya.stage.addChild(this.ani); this.ani.play(); } 运行时报 TypeError:Cannot read property '_creat...
来源: Laya_社区 发布时间: 20171028
...false); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####
来源: Laya2.0_文档 发布时间: 20210715
...思路,运行时log 内存500M多,IPhone6还是卡死 Failed to load resource: net::ERR_FILE_NOT_FOUND 1.7.19.1 beta 背景音乐在舞台失焦和静音状态下可能导致的无法播放的异常问题! Laya2.6.1 beta 场景模式为 加载模式 清理并导出之后 bin目录下没有生...
来源: Laya_社区 发布时间: 20170918
...NE 微信 Laya_Aaron 赞同来自: https://layaair.ldc.layabox.com/demo/h5/res/threeDimen/scene/TerrainScene/Assets/AStarMap.png 就是用这个图,然后用第三方的东西把这个图生成一个路径。在这里寻路 2018-08-02 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20180802
...么原因导致的吗? 怎样解决? IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 资源管理器中的图片个别显示不打包,是不是不能打包到图集中了?这个是什么原因造成的呢?如何避免? lineCap不起作...
来源: Laya_社区 发布时间: 20180423
...mplet.on(Event.ERROR,this,onError); _templet.loadAni("res/role/1/left/left.sk"); } private function parseComplete():void { var skeleton0:Skeleton; skeleton0 = _templet.buildArmatur...
来源: Laya_社区 发布时间: 20170204
...]; URL.bashPath="https://host/url/"; MiniAdpter.nativefiles=[ "res/media/", "prefab/bb.json" ] Laya.Loader.load(...../); 2019-09-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来...
来源: Laya_社区 发布时间: 20190902
...ewRect: Laya.Rectangle = new Laya.Rectangle(); this.tMap.createMap("../bin/res/MarioMap1.json", viewRect, Laya.Handler.create(this,this.initMap)); } private initMap(): void { } } new GameMain();运行的时候报错!错误信息如下: 附件 : --> 2019-02-12 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20190212
...码不起作用 img.graphics.save() img.graphics.transform(m) img.graphics.restore() 如果只留下第二行,那么transform效果将影响其他对象 2017-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 cu...
来源: Laya_社区 发布时间: 20170609
...h; i 加载场景,并且添加多光源 ```typescript Laya.Scene3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.stage.addChild(scene); var camera = scene.getChildByName("Main Camera"); camera.addComponent(...
来源: Laya2.0_文档 发布时间: 20210715