大约有 1,562 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0058 秒)
...omplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Laya.Browser.width / 2, Laya.Browser.height / 2 + 100); //this.skeleton.scale(0.5, 0.5); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); } private onError() { con...
来源: Laya_社区 发布时间: 20210813
...t;/span><span color="#FFFF00">嘻嘻嘻</span>'; Laya.stage.addChild(htmlDiv); 2017-05-05 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 daohu 相关问题 两个对象new了一个相同的对象,调用第一个的一个...
来源: Laya_社区 发布时间: 20170505
...st = new FriendRankListView(); // friendRankList.visible =false Laya.stage.addChild(friendRankList); var dataT = []; data.forEach((item, index) => { // console.log(item) var cupImg = index < 3 ? "images/prize"+(index+1)+".png" : "" var rankTxt = index < 3 ? &qu...
来源: Laya_社区 发布时间: 20180516
....Scene.load("res/scene/LayaScene_cz1/cz1.ls"); Laya.stage.addChild(scene); } } new LayaAir3D(); 2017-12-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 liuzhengcai 相关问题 发起问题须知,必看!...
来源: Laya_社区 发布时间: 20171205
...e.texture.sourceHeight = Laya.stage.height; //添加2D精灵, this.owner.addChild(this.spRole); this.spRole.pos(0, 0); this.spRole.size(Laya.stage.width, Laya.stage.height); }); 2025-01-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无...
来源: Laya_社区 发布时间: 20250109
...reateComplete(){ var land = Laya.loader.getRes("land/main.lh"); this.scene.addChild(land); var camera = land.getChildByName("Camera"); camera.addComponent(CMS);//控制脚本 console.log(camera); } 2019-06-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...
来源: Laya_社区 发布时间: 20180807
... new Sprite(); grayApe.loadImage("../../res/apes/monkey2.png"); Laya.stage.addChild(grayApe); grayApe.filters = [grayscaleFilter];如果一批图片 只要是 grayApe Sprite 的 子对象 这样都可以的! 2017-06-15 0 1 分享 微博 QZONE 微信 devilsome 赞同来自: 如果sprite下...
来源: Laya_社区 发布时间: 20170615
...了 2018-12-19 0 4 分享 微博 QZONE 微信 LT 赞同来自: Laya.stage.addChild(this); Laya.timer.once(500,this,test); 转坐标放在后面加了个延时执行。。就没问题了。。应该是执行的时候组件还没有全部加进stage。。 2018-12-20 0 0 分享 微博 QZONE 微信 为...
来源: Laya_社区 发布时间: 20181219
...keleton = new SpineSkeleton(); this.skeleton.templet = templet; this.owner.addChild(this.skeleton); this.skeleton.pos( this.pageWidth / 2, this.pageHeight / 2 + 100); this.skeleton.scale(0.4, 0.4); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); }); } private play(): void { if (+...
来源: Laya_社区 发布时间: 20230703
...pSpine.x = 365; tmpSpine.y = 500; Laya.stage.addChild(tmpSpine); 附件 : --> 6402.zip 2020-03-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 layabox 赞同来自: BUG已验证,...
来源: Laya_社区 发布时间: 20200318