• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)

321. laya空项目怎么加载unity带出的.ls文件 [ 60%]

...ne = Laya.Scene3D.load("LayaScene_xfg/layaScene.ls",Laya.Handler.create(this,function(_s){ Laya.stage.addChild(_s); })); 这样还是报错 说secne是void

来源: Laya_社区 发布时间: 20180802

322. apk 您的地址不符合要求 [ 60%]

...一起加载 Native2.0打包apk,在安卓4.2设备必闪退 Laya.loader.create 不会反馈失败状态跟描述不符合 打包apk 运行Uncaught SyntaxError: Unexpected token 问题状态 最新活动: 2018-08-22 21:12 浏览: 852 关注: 2 人

来源: Laya_社区 发布时间: 20180822

323. 如何在加载图片同时使其在舞台居中? [ 60%]

...片同时使其在舞台居中? sp.loadImage(_img, 0, 0, 0, 0, Handler.create(this, function(){ trace("complete!!"); 因为我之前1.0可以使用以上方法,但切换到2.0发现complete不触发,这让我如何是好? 2018-10-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

来源: Laya_社区 发布时间: 20181009

324. tween如何更改3d物体位置 [ 60%]

...ld;     }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){     console.log("complete"); }),ConstValue.animationDelay);   无法直接设置原因是浅拷贝变量无法同步到原对象中去   2018-01-12 0 0 分享 微博 QZONE 微信 为什么被折...

来源: Laya_社区 发布时间: 20180112

325. laya微信小游戏加载外部素材失败 急急急 [ 60%]

...es/models/item/item.lh", clas: Laya.Sprite3D, priority: 1 } ]; Laya.loader.create(resource, Laya.Handler.create(this, onComplete), Laya.Handler.create(this, onLoading)); } function onLoading(progress){ console.log("加载进度: " + progress); } function onComplete(){ console.log('onComplete'); wx.s...

来源: Laya_社区 发布时间: 20180426

326. Laya.load在OPPO小游戏端无法加载带有不安全字符的图片网址 [ 60%]

...tps://lupic.cdn.bcebos.com/2 ... 3B%3B Laya.loader.load(_url, Laya.Handler.create(this, res => { let a = new Laya.Image(_url); Laya.stage.addChild(a); })) 以下是安卓层面输出日志:09-22 11:08:10.811 27895-28111/? D/jswrapper: JS: [WARN]: [warn]Retry to load: https://lupic.cdn.bcebos.co...

来源: Laya_社区 发布时间: 20200922

327. tiledmap 可以在图块层的指定格子上添加Sprite吗 [ 59%]

...e(0, 0, Conf.App_Width, Conf.App_Height); //创建TiledMap地图 this.tMap.createMap("map/"+mapname+".json",viewRect, laya.utils.Handler.create(this, this.test));//, null, new Laya.Point(1600, 816)); } private test(){ var testLayer:Laya.MapLayer = this.tMap.getLayerByName("player"); this.tMapPlayer ...

来源: Laya_社区 发布时间: 20170627

328. Uncaught TypeError: Cannot read property 'props' of undefined [ 59%]

...3D场景 Laya.Scene3D.load("LayaScene_Laya3D01/Laya3D01.ls",Laya.Handler.create(null,function(scene){ Laya.stage.addChild(scene); //创建摄像机(横纵比,近距裁剪,远距裁剪) var camera= new Laya.Camera( 0, 0.1, 1000); //加载到场景 scene.addChild(camera); //移动摄像机位置 c...

来源: Laya_社区 发布时间: 20180919

329. 使用IDE生成图集后,无论使用图集下的某个小图 [ 59%]

...ost:3000/shoot/v2/img/assets/assets.json', type : Loader.ALTAS }], Handler.create(this, function () { var _getRes = Laya.loader.getRes('bg-toolbar.png'); console.log(_getRes); }));然后log出来是undefined的,请问如何破?还有,对于图集的存放位置有什么要求吗(我不是用...

来源: Laya_社区 发布时间: 20170223

330. 背景音乐来回切换报错 [ 59%]

...nnel = null         Laya.loader.load("res/dreams.mp3",Laya.Handler.create(this,function(){             dreamsSound = Laya.SoundManager.playMusic("res/dreams.mp3")         }))          let mainSound:Laya.SoundChannel = null;         this.btn_sound.on(Laya....

来源: Laya_社区 发布时间: 20190716