大约有 1,071 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
..., "post","json",null); 回调方法: success:function (e,args) { console.log(e); //此行可以得到响应内容 console.log(args); //此行无法获取自定义参数? } 请问如何获取/传递 自定义参数。 2018-03-04 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180304
...: 2 人 xdkaka • 2017-12-14 17:38 我就是这么做的,不可以啊,console.log可以出来当前的选项,说明继承没有问题,但是无法更改 class Tab extends TabUI{ constructor() { super() this.zOrder = 1 console.log(this._tab._selectedIndex) //返回1,正常 this._tab._selec...
来源: Laya_社区 发布时间: 20171214
..._ddz/animation/ddz_figures_landlord.sk"); } private onError(): void { console.log("error"); } private parseComplete(): void { console.error("地主加载完成"); this.isFinish = true; } public getArmature():Laya.Skeleton{ if(!this.isFinish){ return null; } let armature = null; if(this.mArm...
来源: Laya_社区 发布时间: 20190821
...ment.createElement('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...
来源: Laya_社区 发布时间: 20180126
...n = new Laya.SpineSkeleton(); this.skeleton.templet = templet; console.log("动画数量:", this.skeleton.getAnimNum()); for (let i = 0; i < this.skeleton.getAnimNum(); i++) { console.log("动画名:", this.skeleton.getAniNameByIndex(i)); } if (this.s...
来源: Laya_社区 发布时间: 20250928
... onStart() { //@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
...false); 我可以看到模型transform.rotation值的变化, console.log(this.needle.transform.rotation); 但是,我查看 console.log(this.needle.transform.rotationEuler); 却是却是 undefined。 2017-12-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20171206
...fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输出当前约束所受的力矩 console.log(this.fixedConstraint.currentTorque); } } onJointBreak() { console.log("break"); } ``` - 4.示例效果展示 在初始时,box...
来源: Laya2.0_文档 发布时间: 20210715
...fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输出当前约束所受的力矩 console.log(this.fixedConstraint.currentTorque); } } onJointBreak() { console.log("break"); } ``` - 4.示例效果展示 在初始时,box...
来源: Laya2.0_文档 发布时间: 20210715
...cene()); 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