大约有 1,735 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0059 秒)
Laya_社区(1371) Laya2.0_文档(82) Laya3.0_api(68) Laya2.0_api(57) laya_api(53) Laya3.0_文档(45) Laya_示例(32) Laya2.0_示例(27)
...Height += 2 if length > 0: finalHeight = maxHeight*length outIm = Image.new('RGBA',(maxWith, finalHeight), (0,0,0,0)) index=0 for im in pngs: left = (maxWith - im.width)*0.5 top = index*maxHeight + (maxHeight - im.height) *0.5 outIm.paste( im, (int(left), int(top))) index = index + 1 print('paste...
来源: Laya_社区 发布时间: 20180721
...的监听 如下列代码所示 private var textInput:TextField; textInput=new TextField(); textInput.type=TextFieldType.INPUT; textInput.border=true; textInput.multiline=true; textInput.wordWrap=true; textInput.width=200; textInput.x=100; textInput.y=200; addChild(textInput); textInput.addEventList...
来源: Laya_社区 发布时间: 20151225
...:40,y:50,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onUpdate)}) 大概长这个样子 2018-07-06 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 如果会用tween 就好办, tween 里面有个 update 回调, 你可以弄一个坐标值,或者...
来源: Laya_社区 发布时间: 20180706
...底部显示? FairyGUI是一款专业的 UI编辑器(千万别点) new Laya.Sprite();绘制图形以后,怎么删除释放资源? 关于场景编辑器的,用的最新版引擎 lh文件内meshSprite添加阴影属性无效 模型资源释放问题 为什么给Sprite容器添加点击事...
来源: Laya_社区 发布时间: 20190429
.../unity default resources-Cube.lm"); let physhape: Laya.MeshColliderShape = new Laya.MeshColliderShape(); physhape.mesh = mesh; phy.colliderShape = physhape; 2019-10-28 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 186*****868 相关问...
来源: Laya_社区 发布时间: 20191026
...<Very long string[28528381]>,encoding=216041A1 <undefined>) 2: new constructor(aka Buffer) [buffer.js:~75] [pc=7B6A4B9C](this=7AE742C1 <a Buffer with map 3D42E605>,arg=7AE742AD <Very long string[28528381]>,encodingOrOffset=216041A1 <undefined>,length=216041A1 <undefi...
来源: Laya_社区 发布时间: 20191225
...his.scene1); this.myCar = this.scene1.getChildByName("myCar"); var scale = new Laya.Vector3(2, 2, 2); this.myCar.transform.localScale = scale; let a = this.myCar.addComponent(Laya.PhysicsCollider); }报错如附件中图片。 附件 : --> 2019-06-20 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190620
...te, null, true); console.log(this.h1 == this.h2);//为什么是false } } } new laya.Test(); 2017-12-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cheche062 赞同来自: 没问题我这边是true,不知道...
来源: Laya_社区 发布时间: 20171221
...在微信小程序上用iPhone打开出现闪屏 如题, this.myTest = new Laya.Text() this.myTest.pos(0, 0) this.myTest.size(100, 100) this.myTest.fontSize = 13 this.myTest.color = "#ffffff" this.myTest.align = "center" this.addChild(this.myTest) this.timer.loop(10, this, this.timerClick) ...
来源: Laya_社区 发布时间: 20190129
...); } private onLoadComplete(e: any = null): void { let ta: Laya.TextArea = new Laya.TextArea(""); ta.skin = this.skin; ta.font = "Arial"; ta.fontSize = 18; ta.bold = true; ta.color = "#3d3d3d"; ta.pos(100, 15); ta.size(375, 355); ta.padding = "70,8,8,8"; this.owner.addChild(ta); } } (代码中的...
来源: Laya3.0_文档 发布时间: 20230629