• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,604 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0091 秒)

191. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 75%]

...MeshSprite3D) == null || !this.isUseOuline){            // console.log('spreite3D node meshSprite3D is null');            return;         }         var unlitMaterial = new Laya.UnlitMaterial();         unlitMaterial.albedoColor = new Laya...

来源: Laya_社区 发布时间: 20210203

192. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 75%]

...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

193. list中加的button不能接收点击事件 求一个list中加button的demo [ 75%]

...}     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

194. Laya.URL.basePath加载不到网络资源 [ 75%]

...=================     打印: 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

195. laya air 调试的输出有没有办法存成一个文件 [ 75%]

...来自: layaair ide mac版本的ide  不支持copy 还有能不能支持console.trace,在chrome是支持的,在mac版本 laya air 不支持   2016-07-29 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiqingdubu 相关问题 两个...

来源: Laya_社区 发布时间: 20160729

196. 小米登录失败 [ 75%]

...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

197. Sprite3D添加组件或脚本(JavaScript-3D基础(JS)-LayaAir3D之精灵) [ 75%]

...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

198. 鼠标出屏事件 [ 75%]

...           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

199. Laya.Tween.to 有没有监听值的变化的方法? [ 75%]

...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

200. [LayaAirIDE3]skel骨骼动画播放失败,编辑器预览没问题 [ 75%]

...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