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

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

801. Laya.Browser获取宽高数值会变化,iphone6第一次加载正确,刷新几次就变大了。 [ 46%]

...取当前所有动画名称呢?或者所有的AnimationClip呢? Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 unity到导出场景加载时抛异常,不知所措 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 小游戏项目 加载有中文的js...

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

802. 限制区域拖动效果,为什么会无法限制呢? [ 46%]

...width / 2; this.golfBall.y = Laya.stage.height / 2; this.golfBall.on(Event.MOUSE_DOWN, this, onStartDrag)  function showDragRegion() { //拖动限制区域 var dragWidthLimit = 350; var dragHeightLimit = 200; dragRegion = new Rectangle(Laya.stage.width - dragWidthLimit >> 1, Laya.stage.height...

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

803. 寻路系统(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 46%]

...路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex...

来源: Laya2.0_文档 发布时间: 20210715

804. 寻路系统(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 46%]

...界的路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Event.MOUSE_UP, this, function():void { index = 0; //获取每次生成路径 getGridIndex(path[curPathIndex % pointCount].x, path[curPathIndex++ % pointCount].z, startPoint); getGridIndex(path[nextPathIndex % pointCount].x,path[nex...

来源: Laya2.0_文档 发布时间: 20210714

805. 微信飞机大战 升级版,包含跟踪弹,散弹,道具,积分,难度 [ 45%]

...以用道具点击事件的阻止事件冒泡来解决 this.on(Laya.Event.MOUSE_DOWN, this, function (e) { e.stopPropagation();//阻止冒泡 console.log('@_@' + e.stageX, e.stageY); }); 另外,能分享一下,你的导弹是怎么做的吗?谢谢 2017-09-19 0 1 分享 微博 QZONE 微信 bing...

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

806. Uncaught TypeError: Cannot read property '_tf' of null [ 45%]

...omise) DOMException: play() 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Uncaught TypeError: Cannot read property 'props' of undefined Uncaught unknown animationClip version. 加载龙骨动画出报错Uncaught ...

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

807. 关于ios下的错误 [ 45%]

...ios打包出现链表错误 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 ios接入穿山甲sdk问题 ls文件导入错误 u3d下spine动画工具导入报错:转换失败---chitianshishoux--加载错误,xxx/...

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

808. 求指点3d射线碰撞和UI点击穿透的问题 [ 44%]

...UI点击穿透的问题 //从屏幕空间生成射线 point.elements[0] = MouseManager.instance.mouseX; point.elements[1] = MouseManager.instance.mouseY; camera.viewportPointToRay(point, ray);              //射线检测获取所有检测碰撞到的物体 Physics.rayCastAll(ray, _outHitAll...

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

809. Uncaught TypeError: Cannot read property 'props' of undefined [ 44%]

...nown animationClip version. 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds Laya2.1.0 JS调用Java PlatformClass undefined 运行报错 Uncaught C...

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

810. 求助 Uncaught SyntaxError: Unexpected identifier [ 44%]

...age横向放大且不失真 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 求助flash项目移植h5问题 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds Uncaught TypeError: Cannot read proper...

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