大约有 1,262 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0066 秒)
Laya_社区(1082) Laya2.0_文档(59) Laya3.0_文档(51) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
webgl文字显示不齐 let txt; txt = new Laya.Text(); txt.text = "abcde"; txt.fontSize = 100; Laya.stage.addChild(txt); txt = new Laya.Text(); txt.text = "我们是最好的"; txt.fontSize = 50; txt.x = 0; txt.y = 300; txt.scale(2,2); Laya.stage.addChild(txt);在laya2.0版本里,上面第二个...
来源: Laya_社区 发布时间: 20181119
...读取多个本地json文件 onAwake(): void { console.log("读数据"); Laya.loader.load("Json/shopLevel.json", Laya.Handler.create(this, this.shopJsonLoaded), null, Laya.Loader.JSON); Laya.loader.load("Json/menu.json", Laya.Handler.create(this, this.menuJsonLoaded), null, Laya.Loader.JSON); } //...
来源: Laya_社区 发布时间: 20220819
...0:26 function daoju() { daoju.super(this); this.Tab_ZM.selectHandler = new Laya.Handler(this, onSelect); } function onSelect(index) { console.log("当前选择的标签页索引为:" + index);); this.Tab_ZM.on(Event.CLICK,this,onDaoju(index)); } 想请问下,这样添加,我上面点...
来源: Laya_社区 发布时间: 20170516
...找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: http://ldc.layabox.com/doc/?nav=zh-as-3-4-3 参阅文档,__JS__() 只是把里面的字符串 直译成 js 代码 如果想要传的不是 字符串,想传变量,可以用__JS__() 把变量...
来源: Laya_社区 发布时间: 20171228
2.0TS3D物体碰撞,如何获取双方包围盒 onTriggerStay(other: Laya.PhysicsComponent): void { console.log("box2_onTriggerStay " + this.owner.name + " "+ other.owner.name); let b1:Laya.BoundBox = this.box.meshRenderer.boundingBox; let box2:Laya.MeshSprite3D = other.owner as Laya.MeshSprite3D...
来源: Laya_社区 发布时间: 20181116
[LayaAir3][3.x]shader蓝图的连线不能单独删除,或者我没找到删除办法? 如图,我连错了一个引脚,但是无法单独选择和删除其中一个连线... 附件 : --> 2024-07-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20240703
...Script中, 通过conchMarket类调用的login方法实际上就是在调用LayaPlatformInterface中的LP_Login方法, 而这个过程其实就是JavaScript调用OC的过程. 这个理解 但如何新建新的对应关系呢 比如 我要新建一个新的js调用oc方法 conchMarket里如何配置...
来源: Laya_社区 发布时间: 20180125
[LayaAir3]性能面板 FrustumCulling 和 RenderNode 节点数据一样 附件 : --> 2024-10-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 layaAir小孟 赞同来自: 您好,FrustumCulling是判断在不在...
来源: Laya_社区 发布时间: 20241015
laya帧动画改变interval会卡住 我想做个车轮(帧动画)随赛车速度变化而变化的效果 需要每帧改变interval, 但是动画会突然卡在某一帧一段时间, 如图 代码如下: this.frameLoop(1, this, () => { let interval = xxxxxx; this.tire.interval = interval; co...
来源: Laya_社区 发布时间: 20201012
lib/arm/liblayaair.so 总是崩溃 最近 lib/arm/liblayaair.so 总是崩溃,请问有人能看出来的什么原因吗? 08-14 10:57:48.464 22228-22354/? I/LayaBox: JSRuntime::callMethod {} 08-14 10:57:48.470 22228-22268/? I/System: core_booster, getBoosterConfig = true 08-14 10:57:48.523...
来源: Laya_社区 发布时间: 20180814