大约有 1,362 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
Laya_社区(1160) Laya2.0_文档(69) Laya3.0_文档(63) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
...自: 部分手机是什么手机? 还需要提供引擎和native版本,log截全 2019-05-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 随风飘 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用...
来源: Laya_社区 发布时间: 20181211
...e); let info:any = ske.templet.eventAniArr ske.x = 100; ske.y = 100; CUtil.Log(ske.getAniNameByIndex(0)) ske.play("atk",false) ske.on(Laya.Event.LABEL,this,function(e:any) { CUtil.Log("发动攻击:"+e.name+ske.player.currentKeyframeIndex) }); 就这几行代码,sk文件上传...
来源: Laya_社区 发布时间: 20180315
...ateElement('button'); this.btn_CloseWebiFrame.onclick = () => { console.log("onclick"); }; oncontextmenu也没有问题。this.img_closeWebiFrame.oncontextmenu = () => { console.log("aaa4"); this.img_closeWebiFrame.src = "SlotGameTemplate/phone_public_setting_source/phone_btn_setting_page_ba...
来源: Laya_社区 发布时间: 20180126
...rt() { //@ts-ignore window.camera = this.camera; console.log("Game start", this.camera._up); console.log( "Game start", this.camera._up.x, this.camera._up.y, this.camera._up.z ); } } 附件 : --> testProject.zip 2024-10-29 添加...
来源: Laya_社区 发布时间: 20241029
...我可以看到模型transform.rotation值的变化, console.log(this.needle.transform.rotation); 但是,我查看 console.log(this.needle.transform.rotationEuler); 却是却是 undefined。 2017-12-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20171206
...): void { this.wayPoints = Laya.loader.getRes("zxc.json") as JSON; console.log(this.wayPoints.name); //这里会报name 不存在 } 第二种方式 Laya.loader.load("zxc.json", Laya.Handler.create(this,function(){ this.wayPoints = Laya.loader.getRes("zxc.json") as JSON; console.log(this.wayPoints.na...
来源: Laya_社区 发布时间: 20180119
...题,在移动版就出错,行为不一致; 是什么原因? web版log日志 app版log日志 附件 : --> JF_laba.rar 2018-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 hj 赞同来自: 这个demo运...
来源: Laya_社区 发布时间: 20181010
...straint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输出当前约束所受的力矩 console.log(this.fixedConstraint.currentTorque); } } onJointBreak() { console.log("break"); } ``` - 4.示例效果展示 在初始时,box和box2都...
来源: Laya2.0_文档 发布时间: 20210715
...straint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输出当前约束所受的力矩 console.log(this.fixedConstraint.currentTorque); } } onJointBreak() { console.log("break"); } ``` - 4.示例效果展示 在初始时,box和box2都...
来源: Laya2.0_文档 发布时间: 20210715
... scene.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { console.log("scene HIERARCHY_LOADED"); }); scene.once(Laya.Event.LOADED, null, function (sprite) { console.log("scene LOADED"); });HIERARCHY_LOADED 和 LOADED有什么区别?为什么对scene不起作用? 2017-06-19 添加评论 ...
来源: Laya_社区 发布时间: 20170619