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

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

31. onCollisionEnter触发不正常 [ 62%]

...safari浏览器,iphone谷歌浏览器 遮罩大概率触发黑屏 怎么获取当前触发鼠标某个物体 Laya2.0 3D射线检测能拿到触发模型在射线触发法线吗 list拉到顶部时候,如何防止触发多次请求 问题状态 最新活动: 2023-05-09 17...

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

32. Laya.Scene.open 在弹窗情况下,参数滞后了 [ 61%]

... Laya.Scene.open('xxx.scene', false, data); 我知道是可以用onOpened获取参数, 但是如果是用于弹窗有个问题,界面先显示出来,才执行onOpened 这个该怎么传参数啊   2019-12-05 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

33. 实体组件系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...添加到舞台后,可在此方法中进行一些初始化操作,如获取组件引用、设置初始状态等。onDestroy方法在游戏对象被销毁时调用,可在此方法中释放游戏对象所占用资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合...

来源: Laya3.0_文档 发布时间: 20251010

34. 如何击屏幕任何区域让模型运动到此处 [ 61%]

...不是要做一个和unity中移动物体一样?如果是话,先获取camera视锥远平面或者近平面,求与此平面平行过3D模型坐标平面A,接下来要做就是控制3D模型在平面A上移动。获取鼠标在平面A上通过射线碰撞获取3D坐标。...

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

35. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 55%]

...且不会随着绘制内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true。示例代码如下: let sprite = new Laya.Sprite(); // 添加到舞台 Laya.stage.addChild(sprite); sprite.autoSize = true; 3.4.4 缓存为静态图像 示例代码如下: let...

来源: Laya3.0_文档 发布时间: 20251010

36. laya.physics.joint.PulleyJoint_API3.0 [ 54%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节。 ratio ratio: number = 1.5 Defined in laya/physics/joint/PulleyJoint.ts:27 [首次设置有效]两刚体移动距离比率 Optional runInEditor runInEditor: boolean Inherited from Component.runInEdito...

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

37. viewportPointToRay产生射线始终有偏差,是为什么? [ 52%]

...PointToRay第一个参数传是在canvas坐标,Laya.stage.mouseX获取是在state坐标 所有你要Laya.stage.clientScaleX *Laya.stage.mouseX或者用Laya.MouseManager.instance.mouseX

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

38. laya.physics.joint.RevoluteJoint_API3.0 [ 45%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

39. laya.physics.joint.DistanceJoint_API3.0 [ 43%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

40. laya.physics.joint.WeldJoint_API3.0 [ 43%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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