大约有 262 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
...cene/TestScene.ls") as Laya.Scene; // scene.enableLight = true; Laya.stage.addChild(scene); } } new GameMain();工程文件在附件,运行后报错 Uncaught Error: LoaderManager:unknown file(G:/LayaTest/bin/TestScene/TestScene.ls) extension with: ls. at LoaderManager.__proto._create (laya.c...
来源: Laya_社区 发布时间: 20171227
...var efc = new laya.ui.TestPUI() //添加到舞台 //Laya.stage.addChild(efc); HelloWorld.rar 2017-07-24 0 0 分享 微博 QZONE 微信 lant101 赞同来自: ui的要刷新一下吧。 2017-07-24 0 1 分享 微博 QZONE 微信 cuixueying 赞同来自: 没有看到你UI里有这个类呀...
来源: Laya_社区 发布时间: 20170724
...ya.Handler.create(this,function(scene){ Laya.stage.addChild(scene); })); } } 2020-05-16 添加评论 已悬赏30元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 Laya_XS 赞同来自: Ace...
来源: Laya_社区 发布时间: 20200516
...时解决方案: var dragon:Dragon=new Dragon(); addChild(dragon); 有问题及时反馈!!!! 2015-11-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 mylukelu 相关问题 TypeScr...
来源: Laya_社区 发布时间: 20151124
... 01-29 14:08:22.509 12064-12079/? E/LayaBox: JCSceneCmdDispath::_rendercmd_addChild error can't find the node3d id=-1 01-29 14:08:22.509 12064-12079/? E/LayaBox: JCSceneCmdDispath::_rendercmd_addChild error can't find the node3d id=-1 01-29 14:08:22.599 12064-12104/? I/LayaBox: alert=http://stand.al...
来源: Laya_社区 发布时间: 20180129
...a.stage.bgColor = "#232628"; this.sp_video = new Laya.Sprite(); Laya.stage.addChild(this.sp_video);//添加到舞台 this.sp_video.pos(10,100); Laya.timer.loop(150, this, showframe); })(); function showframe() { var self = this; var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,com...
来源: Laya_社区 发布时间: 20170825
... this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(laya_width/2,laya_height/2); this.skeleton.scale(0.5, 0.5); this.skeleton.on(Event.STOPPED, this, this.play); this.play(); } ...
来源: Laya_社区 发布时间: 20211013
...3) 创建Sprite方式: sp = new Sprite(); addChild(sp); sp.loadImage("./assets/ico_back.png"); 6、定位到 laya.core.js 1438行发现有这样的描述: if (!tex.loaded){ tex.once(/*laya.events.Event.LOADED*/"loaded",this,this._textureLoaded,...
来源: Laya_社区 发布时间: 20171015
...时候它也会自动出现在舞台上,但另外一个view的页面不addchild到舞台上是不会显示的,很费解呀。希望有大佬能帮忙解答下。感谢了。 附件 : --> 2019-02-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20190225
...<100){ var bgImg = new Laya.Sprite(); bgImg.loadImage(data); Laya.stage.addChild(bgImg) }else{ console.log("图片超标"+width+"--"+height); } }; img.src =data; } }; 2019-01-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20190129