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

大约有 11 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0026 秒)

1. Error: Layer value can be null. [ 100%]

Error: Layer value can be null. 一开始正常后来把 Laya.stage.addChild(Gamesce.gameFig); 改为Laya.stage.addChildAt(Gamesce.gameFig,1); 报这个错误,再改为Laya.stage.addChild(Gamesce.gameFig); 游戏一直报Error: Layer value can be null.,游戏崩了。。。。。 有大神知...

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

2. LayaAir3D 物理系统之鼠标拾取(射线拾取) [ 75%]

...  distance   射线长度,默认为最大值           * @param  layer      选定制定层内的碰撞器,其他层内碰撞器忽略          */          Physics.rayCast(ray:Ray, outHitInfo:RaycastHit, distance:Number = Number.MAX_VALUE, layer:int = 0)          /**  ...

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

3. Laya api 中可能的bug [官方来看] [ 67%]

Laya api 中可能的bug [官方来看] 第一次接触layer在使用tiledmap的时候发行object层的物体无法通过zorder设置重新渲染景深,之前开过一个帖子没人鸟,自己动手处理了。 1.tiledmap中的MapLayer复写了Sprite的render方法,使用了自己的_showGri...

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

4. 'releaseTexture' of null [ 63%]

...operty '_tf' of null 射线检测报错,outHitInfo.sprite3D=null; Error: Layer value can be null. 问题状态 最新活动: 2019-05-11 14:49 浏览: 932 关注: 2 人

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

5. Laya.stage报null [ 62%]

...到文件: null 请设置文件配置文件属性runtimeExecutable Error: Layer value can be null. 射线检测报错,outHitInfo.sprite3D=null; TypeError: Cannot set property 'pivotX' of null 打开弹窗UI时报错 读取protobuf失败,root.lookup返回null TypeError: Cannot read property 'sv' ...

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

6. Laya无法创建摄像头和平行光 [ 61%]

...码无法正常执行,创建摄像头和平行光时出错,报了一个Layer value can be null.     附件 : --> 2018-07-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 大饼干 ...

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

7. lose skin null [ 61%]

...ore.js:16463 Uncaught TypeError: Cannot read property '_tf' of null Error: Layer value can be null. 射线检测报错,outHitInfo.sprite3D=null; Laya.timer.loop() 报错 Cannot read property 'loop' of null Laya.stage报null 问题状态 最新活动: 2018-01-27 15:19 浏览: 2146 关注: 2 人 hel...

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

8. 要做一个方形倒计时,请问该怎么实现,不知道该怎么做 [ 60%]

...链接 提交 3 个回复 lifereset 赞同来自: laya123 package huamao.layer.ui { import app.TheGame; import laya.display.Sprite; import laya.maths.Rectangle; public class CdSprite extends Sprite { public static const START:int = -90; public static const COLOR:String = "#000000"; private var r:Num...

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

9. laya的透视相机有没有“深度”这个属性?类似U3D相机的depth属性 [ 56%]

...两个相机显示同一个场景的同一个位置,通过控制对象的layer值,我可以实现两个相机看到不同的东西,但是它们显示在一起的时候,我希望其中一个相机看到的东西一直“盖住”另一个相机的看到的东西。在U3D里,这个是通过...

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

10. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 50%]

...tic _uniqueIDCounter: number; protected _id: number; protected _cachedOwnerLayerMask: number; protected _cachedOwnerEnable: boolean; protected _enable: boolean; protected _owner: laya.d3.core.Sprite3D; /**是否已执行start函数。*/ started: boolean; /** * 获取唯一标识ID。 * @return 唯...

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