大约有 2,994 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0073 秒)
Laya_社区(2435) Laya2.0_文档(172) Laya3.0_api(101) Laya_示例(79) Laya3.0_文档(70) Laya2.0_api(55) laya_api(42) Laya2.0_示例(40)
...E; //添加3D场景 var scene = new Laya.Scene(); //var scene = Laya.Scene.load('res/models/scene1.ls'); this.scene = Laya.stage.addChild(scene); if(!scene) return; var camera = this.scene.addChild(new Laya.Camera(0, 0.01, 1000)); camera.transform.translate(new Laya.Vector3(0, consts.CAMERA_HEI, 0))...
来源: Laya_社区 发布时间: 20180126
...引擎 Laya.init(600, 400); var url:String = "res/json/Sheet1.json"; Laya.loader.load(url, Handler.create(null, onJsonLoaded,[url]), null, Loader.JSON); } private static function onJsonLoaded(url:String,data:Object):void { var arr:Array = data.Sheet1; Laya.loader.clearRes(url); } 微信开发者工...
来源: Laya_社区 发布时间: 20180108
...Laya.Stage.SCALE_FIXED_WIDTH; var resPath = ['res/atlas/comp.atlas']; Laya.loader.load(resPath, new Laya.Handler(this, function () { var textUi = new TextUI(); Laya.stage.addChild(textUi); }), null, Laya.Loader.ATLAS); } } new GameMain(); Test.zip 2018-08-10 0 1 分享 微博 QZONE 微信 Bert ...
来源: Laya_社区 发布时间: 20180810
... 发起人 bobofuns 我是阿布大人。 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:...
来源: Laya_社区 发布时间: 20180322
.../1.0.0/index.html-line0 :Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access. 2017-07-07 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 那你需要解决跨域的问题了 2017-07-07...
来源: Laya_社区 发布时间: 20170707
...Enter(){ this.img_sample.on(Laya.Event.CLICK, this, this.onImgClick); Laya.loader.load("res/atlas/comp/skeleton.atlas"); //创建动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); this...
来源: Laya_社区 发布时间: 20180905
...n = new Laya.Animation(); this.ui.addChild(this.animation); this.animation.loadImages(images); this.animation.interval = 70; this.animation.play(0); return this.animation } 我不知道你是怎么做的。这样是没问题的 2019-03-25 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20190325
...: 与内容相关的链接 提交 4 个回复 daibao520 赞同来自: donloadImageTest: function (ss) { var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE, this, completeHandler); xhr.once(Laya.Event.ERROR, this, errorHandler); xhr.send("http://192.168.10.108:35553/re ... ot%3B, "", "get...
来源: Laya_社区 发布时间: 20180201
...you may not be using this functionality currently, it has the potential to load private frameworks, private methods, and enable future feature changes. This includes any code which passes arbitrary parameters to dynamic methods such as dlopen(), dlsym(), respondsToSelector:, performSelector:, method...
来源: Laya_社区 发布时间: 20191104
...抢小虎 • 2018-05-08 10:34 已加载完的资源,从浏览器缓存Load,不是无缝的吗? w1114367261 • 2018-05-08 10:42 你截图下你的问题部分代码我看看! 别抢小虎 • 2018-05-08 10:51 /// 加载的时候是这样写的 this.anim.loadAtlas(source , null, cacheName); ...
来源: Laya_社区 发布时间: 20180507