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

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

21. 运行时网页黑屏,报错提示 [ 66%]

...给wall又添加了一次组件导致,将制作拐弯墙预制体的wall.addComponent(Wall)改为wallCurve.addComponent(Wall);另外在GameManager.js的spawnCurveWall方法内,instantiate复制对象内传入的参数拼写错误this.wallCurvePre没有,应该是改为this.wallCurve。 CubeLe...

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

22. 我下边这个程序摄像机卡死了,望各位帮我看看,怎么让它动起来,谢谢 [ 63%]

...添加到你预制体中的相机上<Laya.Camera>dude1.getChildAt(0).addComponent(CameraMoveScript); 2020-11-25 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 小火火 相关问题 请问在layaIDE里,...

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

23. Laya 3D项目中 3d模型可以添加2d刚体吗 这边添加会出现报错 [ 61%]

...ipRush/LayaProject/car/bin/libs/laya.core.js:7154:11) at Sprite3D.__proto._addComponentInstance (/Users/tuyoo/client5/work/Laya_work/FlipRush/LayaProject/car/bin/libs/laya.core.js:13788:35) at Sprite3D.__proto.addComponent (/Users/tuyoo/client5/work/Laya_work/FlipRush/LayaProject/car/bin/libs/laya.c...

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

24. laya.d3.core.Sprite3D_API3.0 [ 59%]

...orm url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener is...

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

25. laya.display.Node_API3.0 [ 59%]

...mer url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncest...

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

26. Cannot read property 'toDefault' of undefined报错是什么原因 [ 59%]

...Box.textureCube = Laya.TextureCube.load("skyBox/skyCube.ltc"); this.camera.addComponent(VRCameraMoveScript); this.ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); this.point = new Laya.Vector2(); this._outHitInfo = new Laya.RaycastHit(); // this.phasorSpriter3D = new Laya.Ph...

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

27. Laya2D 物理关节的动态使用方法 以及contact.getHitInfo报错问题 [ 58%]

...怎么在代码设置 实现粘黏效果 核心代码如下: 只需要在addcomponent前将otherBody指向就行 -----------------------第二个就是 contact.getHitInfo() 碰撞信息这个参数报错问题  修改laya.physicsc.js 中_sendEvent函数如图 ----------这个问题官方大大更...

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

28. 官方DynamicBatchTest照做为什么动态合不了批? [ 57%]

... camera.transform.rotate(new Laya.Vector3(-40, 0, 0), true, false); camera.addComponent(CameraMoveScript);   Laya.Texture2D.load("res/threeDimen/layabox.png", Laya.Handler.create(this, function (tex) { var radius = new Laya.Vector3(0, 0, 1); var radMatrix = new Laya.Matrix4x4(); var circleCount = 5...

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

29. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 57%]

...e _processActive _setIndexInReflectionList addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener ...

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

30. laya.d3.core.light.LightSprite_API3.0 [ 55%]

...orm url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener is...

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