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

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

3001. laya.display.cmd.DrawLinesCmd_API3.0 [ 55%]

...d lineColor lineWidth points x y ID recover Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface Static property

来源: Laya3.0_api 发布时间: 20231115

3002. TimeLine运行的小问题 [ 55%]

... .addLabel("C",0).to(sp,{scaleY:1},200); timeLine.play(0,false); } private function onLabel(text:String):void { trace(text); }应该是你的代码有问题,以上是我的测试例子,没有出现重复执行的问题,请测试。 注意,label事件的触发是在动画运行之后,一开...

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

3003. touches一直为undefined [ 55%]

...tage.on(Laya.Event.MOUSE_DOWN, this, onCtrlMoveRockerTouchDown); ......   function onCtrlMoveRockerTouchDown(e) {     console.log("onCtrlMoveRockerTouchDown()");     var touches = e.touches;     if(touches) {     ...取出前两个touch进行计算     } }   请问为什么我的touches...

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

3004. 2.0版本天空盒子不显示 [ 55%]

...Material.load("res/skybox/DawnDusk/SkyBox.lmat", Laya.Handler.create(null, function(mat:Laya.SkyBoxMaterial):void { camera.skyboxMaterial = mat; })) 2018-11-30 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 一台电脑可以让你哭吗...

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

3005. laya.display.cmd.DrawImageCmd_API3.0 [ 55%]

...d color height texture width x y ID recover Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface Static property

来源: Laya3.0_api 发布时间: 20231115

3006. 打包VIVO卡住,然后报错 [ 55%]

...romise) DOMException: play() 导微信小程序报错window.focus is not a function runtime运行报错! 问题状态 最新活动: 2020-05-22 15:29 浏览: 691 关注: 2 人

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

3007. 一个方法实现复制到粘贴板 [ 55%]

...贴板   /** * 复制到粘贴板  * @param value *  */ public static function copyToClipBoard(value:String):void{   var input:Object;   input = Browser.createElement("input"); input.setAttribute('readonly', 'readonly'); input.setAttribute("value",value); Browser.document.body.appendChild(input...

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

3008. 微信小游戏在真机上无法调用,在开发者工具里正常运行 [ 55%]

...发者工具里正常运行 aFun(){ return i.__awaiter(this,void 0,void 0,function*(){ console.log("111"), yield xxxx,   }) } 类似于这种,在微信开发者工具里运行正常,但是在真机上却无法执行。 求问各位大佬指点一二。 2020-04-21 添加评论 免费帖 --> 分...

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

3009. 自定义shader-地形shader [ 55%]

...Component(CameraMoveScript); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { setCustomMaterial(scene.getChildAt(2)); }); function setCustomMaterial(spirit3D) { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D = spirit3D; var customMaterial = new CustomTerrainMaterial(); cust...

来源: Laya_示例 发布时间: 20260303

3010. 如何调用微信小游戏API [ 55%]

...比如调用接口发起授权,原生是这样写: wx.login({ success: function () { wx.getUserInfo() } }) Laya引擎中没有wx这个变量怎么写?难道取window.wx? 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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