大约有 1,604 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0091 秒)
...MeshSprite3D) == null || !this.isUseOuline){ // console.log('spreite3D node meshSprite3D is null'); return; } var unlitMaterial = new Laya.UnlitMaterial(); unlitMaterial.albedoColor = new Laya...
来源: Laya_社区 发布时间: 20210203
...ish.y = 200 this.addChild(_fish); Laya.timer.loop(100, this, function () { console.log(_fish.x, _fish.y, _fish.width, _fish.height, _fish.rotation); if (_fish.hitTestPoint(_fish.x, _fish.y)) { console.log("hittttttt"); } }); } } //程序入口 Laya.init(600, 400); this.onLoaded() function onLoaded()...
来源: Laya_社区 发布时间: 20180315
...} 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
...================= 打印: 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
...来自: layaair ide mac版本的ide 不支持copy 还有能不能支持console.trace,在chrome是支持的,在mac版本 laya air 不支持 2016-07-29 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiqingdubu 相关问题 两个...
来源: Laya_社区 发布时间: 20160729
...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