大约有 2,310 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0056 秒)
Laya_社区(1513) Laya2.0_文档(259) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(80) Laya3.0_文档(75) Laya2.0_api(74) laya_api(70)
...g"); img.height = 100; img.width = 100; Laya.stage.addChild(img); } 附件 : --> 2019-05-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 早。 赞同来自: 更新一下LayaAir的版本...
来源: Laya_社区 发布时间: 20190529
...is.preinitialize is not a function 官方视频教程中飞机大战 "this.addChild is not a function" 微信开发者工具iOS模拟器报错:CharRender_Canvas.ctx.fillAndStrokeText is not a function 问题状态 最新活动: 2015-12-02 14:58 浏览: 3180 关注: 2 人
来源: Laya_社区 发布时间: 20151202
...t(); textField.text = "Test"; textField.color = "#ff00"; [b]Laya.stage[/b].addChild(textField); 附件 : --> 2024-07-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 layabox 赞同来自: 定义颜色的十六进...
来源: Laya_社区 发布时间: 20240719
...(600,400); this.sp = new Laya.Sprite(); Laya.stage.addChild(this.sp); var arr:Array<any> = [this.sp,1,2,3]; this.sp.graphics._saveToCmd(this.test1,arr); } test1(x,y,args):void { console.log("args[0]"+args[0]+",args...
来源: Laya_社区 发布时间: 20170316
.../ 添加到舞台 let wrap = this.getChildByName('wrap') as Laya.Box; wrap.addChild(videoElement); // 监听点击事件,开始播放视频 let btn_start = this.getChildByName('btn_start') as Laya.Image; btn_start.on(Laya.Event.CLICK,this,()=>{ // 加载资源足以播放 if(videoElement.readySta...
来源: Laya_社区 发布时间: 20200722
..., Laya.Handler.create(null, function(scene:Laya.Scene3D):void { Laya.stage.addChild(scene) as Laya.Scene3D; var camera:Laya.Camera = scene.getChildByName("Main Camera") as Laya.Camera; //camera.addComponent(CameraMoveScript); })); 2019-03-08 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20190308
...nterval = 30; ani.index = 1; ani.play(); Laya.stage.addChild(ani); postMessage(ani);//将获取到的数据发送会主线程 } 但是会报错,Uncaught ReferenceError: Laya is not defined laya怎么定义? 2018-01-08 0 0 分享 微博 QZONE 微信 为什么...
来源: Laya_社区 发布时间: 20180108
...,我的需求是3d显示对象列表里添加2d显示对象,我看3d的addChild源码 if (!((node instanceof laya.d3.core.Sprite3D ))) throw new Error("Sprite3D:Node type must Sprite3D."); 是不支持的,请问有其他方式么? 麟。 • 2018-09-12 18:44 我的目的是想2d的...
来源: Laya_社区 发布时间: 20180912
....valign="bottom"; this.lbl.padding="0,0,1,0"; this.btn.addChild(this.lbl); } this.btn.name=index.toString(); this.uiCtrl=uiCtrl; this.btn.on("change",()=>{ switch(this.btn.name.trim()){ case "0":{ if(this.btn.selected){ this.btn.skin="resources/ui/目...
来源: Laya_社区 发布时间: 20241014
...的js也有这个问题,自动添加Laya导致变成。Laya.Laya.stage.addChild 另外,使用第三方js库也有这个问题,我自己写了dts文件,ts里面引用,结果生成的js也会加上Laya,导致我需要在Main里面手动挂载到Laya下才行 demo已经发给Laya开...
来源: Laya_社区 发布时间: 20191211