大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0047 秒)
...41966 最后参考这位的,不过做了一些修改,原来的代码 uniform vec4 u_Tintcolor; #ifdef RENDERMODE_MESH varying vec4 v_MeshColor; #endif #ifdef FOG varying vec3 v_PositionWorld; uniform vec3 u_CameraPosition; uniform float u_FogStart; uniform float u_FogRange; #ifdef AD...
来源: Laya_社区 发布时间: 20190802
... let physicsCollider = LayaWrap.getNodeCom(node3D,Laya.PhysicsCollider); if(physicsCollider == null){ physicsCollider = node3D.addComponent(Laya.PhysicsCollider); } physicsCollider.colliderShape = new Laya.BoxColliderShape(sizeX,sizeY,sizeZ); physicsCollider.colliderShape.localOffset = vOffSet; ph...
来源: Laya_社区 发布时间: 20190517
1.7.19beta版播放音乐异常 if (this.gain.gain.setTargetAtTime){ this.gain.gain.setTargetAtTime(this._volume,this.context.currentTime,0);一跑起来就在这里异常 "Failed to execute 'setTargetAtTime' on 'AudioParam': Time constant must be a finite positive number: 0" 在chrome里调试...
来源: Laya_社区 发布时间: 20180519
...0 分享 微博 QZONE 微信 黄羽 赞同来自: 关节要先手动移除 if(!revoluteJoint.destroyed){ revoluteJoint._destroy() } 再移除sprite 2019-02-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 mb137 相关问题 看了其他...
来源: Laya_社区 发布时间: 20190214
...umber = 25; while (--n > 0) { let mov0 = this["item" + n] as MovieClip; if (mov0) { mov0.visible && (mov0.visible = false); mov0.playing && mov0.stop(); mov0.parent && mov0.parent.removeChild(mov0); mov0.destroy(true); delete this["item" + n]; } } } 2018-10-25 添加评论...
来源: Laya_社区 发布时间: 20181025
...addEventListener("touchmove", touchmoves, false); function touchmoves(e) { if(window.pageYOffset<0) { div.style.visibility="hidden";//隐藏div Laya.MouseManager.instance.disableMouseEvent; e.preventDefault();//停止滑动,但下面的layaCanvas还是会滑动(手还在屏幕上) } } 2...
来源: Laya_社区 发布时间: 20170517
...nav=zh-as-2-3-12 as的源码 public function set skin(value:String):void { if (_skin != value) { _skin = value; _bg.skin = _skin; _bar.skin = _skin.replace(".png", "$bar.png"); callLater(changeValue); } } 2018-04-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...
来源: Laya_社区 发布时间: 20180408
...。NoSuchMethodException laya发布vivo失败 Laya.Media方法调用失败 if (window["Laya3D"]) Laya3D.init(width,heigh) 调用失败,引起底层问题 构建所有项目失败 Laya 1.7.17 版本打包apk失败,说包名不规范? 问题状态 最新活动: 2023-05-09 14:25 浏览: 2679 关...
来源: Laya_社区 发布时间: 20230508
...; this.ang = this.ang + 1; if(this.ang >= 360) { this.ang = 0; //this.mMask.graphics.clear(); } } 定时器设置10,没...
来源: Laya_社区 发布时间: 20171101
...是我需要再添加定时器之前做判断,如果存在,就clear, if(xxxxx){ Laya.timer.clear(this, this.showUserHandCard); } Laya.timer.loop(150, this, this.showUserHandCard, null, false); 这个xxx怎么判断 2018-03-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20180321