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

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

221. 添加继承自Laya.Sprite3D脚本的节点移除时调用了两次onDisable [ 51%]

...个继承自Laya.Sprite3D。使用Laya.Sprite3D.instantiate实例化,并addComponent自定义的类;添加到场景中,再移除;移除时发现脚本的onDisable调用了两次。断点调试后发现如下图的代码:首先在1的方法中调用_inActiveHierachy和inActiveScripts;然后...

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

222. Cannot read property '_physicsUpdateList' of null 错误 [ 51%]

...ad property '_physicsUpdateList' of null 错误 添加 var collider = ball.addComponent(Laya.PhysicsCollider) 添加碰撞以后 再销毁 destroy这个对象的时候 就出错了   Uncaught TypeError: Cannot read property '_physicsUpdateList' of null     at PhysicsCollider.__proto._onDestroy (...

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

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

... 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

224. laya.d3.core.MeshSprite3D_API3.0 [ 51%]

...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

225. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 51%]

...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

226. 《用LayaAir IDE制作3D角色创建与选择界面》js版本角色动画无法运行 [ 51%]

...问题   //给男角色模型设定贴图动画 var manAni = this.roleMan.addComponent(SkinAnimations); manAni.url ="3d/man/hero.ani"; manAni.player.play();   下面是chrome错误信息   Uncaught TypeError: Cannot read property '0' of undefined     at SkinAnimations.__proto._update (laya.d3.j...

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

227. 2018-10-26更新了layaAir2.0beta4,bug好多啊 [ 51%]

...会关闭 2、刚体销毁的时候会报错(刚体和碰撞区都是用addComponent方法添加的)     laya.physics.js:38 Uncaught Error         at Object.box2d.b2Assert (laya.physics.js:38)         at box2d.b2Fixture.Destroy (laya.physics.js:439)         at BoxCollider.__proto._...

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

228. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 51%]

...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

229. laya.d3.core.trail.TrailSprite3D_API3.0 [ 51%]

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

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

230. timer.loop帧率高于物理帧率移动父级导致子物体本地坐标异常 [ 51%]

...tiveMesh.createBox(1, 1, 1)));             let rigidbody = this.cube.addComponent(Laya.Rigidbody3D);             rigidbody.mass = 0.01;             rigidbody.overrideGravity = true;             rigidbody.gravity = new Laya.Vector3();             rigidbody.isTrigger = tr...

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