大约有 1,493 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0052 秒)
Laya_社区(918) Laya2.0_文档(193) Laya_示例(125) Laya2.0_示例(101) Laya3.0_api(79) Laya3.0_文档(73) laya_api(2) Laya2.0_api(2)
...onventional/scene.ls',Laya.Handler.create(this,function(scene){ Laya.stage.addChild(scene); })); ``` (图2)
来源: Laya2.0_文档 发布时间: 20210715
...onventional/scene.ls',Laya.Handler.create(this,function(scene){ Laya.stage.addChild(scene); })); ``` (图2)
来源: Laya2.0_文档 发布时间: 20210715
...#ff0000'>欢迎你的加入</span>"; this.addChild(html); 2018-03-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: https://ldc.layabox.com/doc/?nav=zh-...
来源: Laya_社区 发布时间: 20180303
...动不了 txArray.push(list);} storeTxList.array = txArray; Laya.stage.addChild(storeTxList); 悬赏找大神看问题 export default class StoreItem extends Laya.Box { constructor() { super(); this.size(195, 210); } } 附件 : --> ListDemo.zip 2019-07-11 添加评论 已悬赏10元 --> ...
来源: Laya_社区 发布时间: 20190711
...; function onLoaded(){ //实例化 var tempBG=new background(); Laya.stage.addChild(tempBG); } })();在background.js里是这样写的 var background = (function (_super) { function background() { background.super(this); } Laya.class(background,"background",_super); return background; })(ui.backgrou...
来源: Laya_社区 发布时间: 20180129
...vas; let t = mainCanvas.getTexture(); let imgSp = new Sprite(); Laya.stage.addChild(this.imgSp) imgSp.graphics.drawTexture(t)) 2020-06-17 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 无 相关问题 关于微...
来源: Laya_社区 发布时间: 20200617
..."); var img = new Laya.Sprite(); img.loadImage("res/test.jpg"); Laya.stage.addChild(img); } } new GameMain(); 调试的时候可以显示出来 res/test.jpg,但是会报出“资源版本清单文件不存在,不使用资源版本管理。忽略ERR_FILE_NOT_FOUND错误。” 发布时启用了...
来源: Laya_社区 发布时间: 20180416
...erial 创建的贴图材质,这样能平铺吗? var plane = this.scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(200, 50, 1, 1))); plane.transform.translate(new Laya.Vector3(0, -0.4, 0)); var material1 = new Laya.StandardMaterial(); material1.diffuseTexture = Laya.Texture2D.load("http://...
来源: Laya_社区 发布时间: 20180125
... } function createParagraph() { var p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; var html = '<span style="color:black;font-weight:bold;font:24px Arial">&#160;&#160;a paragraph from external html.</span>\ <br/>\ <span s...
来源: Laya_社区 发布时间: 20180808
...Ins = new Particle2D(settings); Laya.stage.addChild(partIns); // 开始发射粒子 partIns.emitter.start(0.5); // 播放 partIns.play(); ...
来源: Laya_社区 发布时间: 20190808