大约有 1,595 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0070 秒)
...} updateListItem(cell: BagItem, index: number):void{ console.log("3333333333333"); if (cell.useBtn.clickHandler == undefined) { cell.useBtn.on("click", this, this.onItemUse, [index]); } } onItemUse(index):void{ ...
来源: Laya_社区 发布时间: 20170310
...来自: layaair ide mac版本的ide 不支持copy 还有能不能支持console.trace,在chrome是支持的,在mac版本 laya air 不支持 2016-07-29 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiqingdubu 相关问题 两个...
来源: Laya_社区 发布时间: 20160729
...================= 打印: rn]Retry to load: res/atlas/images.atlas console.warn @ VM1768:1 __proto._endLoad @ code.js:13304 onLoaded @ code.js:13291 (anonymous) @ code.js:13283 __proto.runWith @ code.js:720 __proto.event @ code.js:494 __proto.onError @ code.js:12784 __proto.runWith @ code.js...
来源: Laya_社区 发布时间: 20180531
...ow["qg"].login({ success: function (res) { var data = JSON.stringify(res); console.log("OPPO登录:" + data); callBack(res); }, fail: function (res) { LogicManager.instance.toLoginSucc(); console.log("登陆失败:" + JSON.stringify(res)); } }); 登陆失败:{"code":7605,"msg":"没有 数据","d...
来源: Laya_社区 发布时间: 20190823
...or(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); } onAwake() { console.log("onAwake"); } onStart() { console.log("onStart"); } onUpdate() { this.owner.transform.rotate(this.rotation, false); } onLateUpdate() { console.log("onLateUpdate"); } } ``` 这样脚本就添加完成了,我们...
来源: Laya2.0_文档 发布时间: 20210714
... Laya.stage.on(Laya.Event.MOUSE_OUT, this, function(){console.log("mouseout")}); Laya.stage.on(Laya.Event.MOUSE_UP, this, function(){console.log("mouseup")}); mouseup能正常监听到,stage上加的MOUSE_OUT事件,当鼠标移出屏幕时,在浏览...
来源: Laya_社区 发布时间: 20200407
...10 }, 1000, Laya.Ease.linearNone, Laya.Handler.create(this, function (p) { console.log(1) }), Laya.Handler.create(this, function (p) { console.log(p) })); 阿琴 • 2018-06-21 17:36 这样写吗?不对呀连console.log(1)都不输出了 阿琴 • 2018-06-21 11:31 static to(target: any, props: an...
来源: Laya_社区 发布时间: 20180621
...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
...tor3 = new Laya.Vector3(0, 0.01, 0); constructor(){ super(); } onAwake() { console.log("onAwake"); } onStart() { console.log("onStart"); } onUpdate() { (this.owner as Laya.Sprite3D).transform.rotate(this.rotation, false); } onLateUpdate() { console.log("onLateUpdate"); } } ``` 这样脚本就添加...
来源: Laya2.0_文档 发布时间: 20210715
... onTriggerEnter,onTriggerStay,onTriggerExit 方法,并且在方法内有console.log输出,player设置了点击z方向向前移动 2、GameManager.ts:40-41行获取被碰撞体、72-94行管理被碰撞体和给每个被碰撞体添加了刚体,同时 isTrigger =true,isKinematic=true,...
来源: Laya_社区 发布时间: 20200728