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

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

811. View嵌套Dialog组件 [ 71%]

...property 'y' of null"的解决方案 求解:2D项目中加载View,Laya.Scene.load应该如何使用? Laya的Scene和View什么区别? 自定义组件如何实现图片资源拖动获取路径 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以...

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

812. [LayaAirIDE3][3.2]插件开发:需要预览指定场景 [ 71%]

...,而不是场景时,运行预览就会运行prefab的预览,而不是scene。   已尝试使用Editor.sceneManager.setActiveScene接口,并无效果 请问我还有什么方法可以实现我的功能 2025-07-16 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

813. LayaAir3D中的Transform变换(ActionScript-3D基础(AS3)-LayaAir3D图形系统基础概念) [ 71%]

...d var layaMonkey_clone1:Sprite3D = Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Vector3(0.0, 0, 0.5)); var layaMonkey_clone2:Sprite3D = Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Vector3(0.0, 0, 0.5)); var layaMonkey_clone3:Sprite3D = Sprite3D.instantiate(staticLayaMonkey...

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

814. 添加UI后,带光照的场景为什么变暗? [ 71%]

... 添加UI后,带光照的场景为什么变暗? Stage中添加了一个Scene和一个Sprite,后者用于挂载ui编辑导出的view.MainView。现在遇到的问题是:不显示UI时,场景中的光照正常;但叠了这层UI后,场景就变暗了。UI层需要进行什么设置吗?...

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

815. TypeError: Cannot read property 'length' of null [ 71%]

...下: TypeError: Cannot read property 'length' of null at Sprite._setBelongScene (file:///D:/work/study/project/client/test/air_war/bin/libs/laya.core.js:13049:52) at Sprite._onAdded (file:///D:/work/study/project/client/test/air_war/bin/libs/laya.core.js:13129:37) at Sprite._setParent (file:///D:/wo...

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

816. Uncaught TypeError: Class constructor Component cannot be invoked without 'new' [ 71%]

...Uncaught unknown animationClip version. 运行报错 Uncaught Can not find scene:GameView.scene undefined 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefine...

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

817. 物理触发器(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 71%]

...如下: ```typescript //创建盒型MeshSprite3D var box:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(sX, sY, sZ))) as MeshSprite3D; //创建物理碰撞器 var staticCollider:PhysicsCollider = box.addComponent(PhysicsCollider); //标记为触发器,取消物理反馈 sta...

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

818. Uncaught SyntaxError: Unexpected token ) [ 71%]

...nnot read property 'props' of undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 加载模型 报错。Uncaught Error: LoadModelV03: unknown ...

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

819. Uncaught Can not find class laya.html.dom.HTMLDivElement [ 71%]

...Uncaught unknown animationClip version. 运行报错 Uncaught Can not find scene:GameView.scene undefined 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. 问题状态 最新活动: 2020-02-28 16:15 浏览: 3280 关注: 2 人

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

820. 骨骼动画的使用(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 71%]

...看下导出的动画效果。 ```typescript //加载我们导出的场景 Scene3D.load("res/LayaScene_LayaMonkey/Conventional/LayaMonkey.ls",Handler.create(this,function(s:Scene3D):void{ Laya.stage.addChild(s); })); ``` ![](img/6.gif)(图6)

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