大约有 344 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
为什么没有on的方法? var ani:Animator = hero.getComponent(Animator) as Animator; ani.on(Event.COMPLETE,this,onAniComplete,[ani]); 官方例子里这样写.但编辑器和运行都报错显示没on的方法 2018-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20181123
...后在“类库管理”中选择了“2.1.0”之后就报错了, this.getComponent(GameControl),不存在这个属性 附件 : --> 2019-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折...
来源: Laya_社区 发布时间: 20190716
...abled = true; mouseJoint.selfBody = <laya.physics.RigidBody>ropePart.getComponent(laya.physics.RigidBody); ropePart.addComponentIntance(mouseJoint); Laya.stage.addChild(ropePart); 2019-04-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20190424
...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf normalizedViewportPointToRay off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once recoverRenderContext3D removeAllLayers remov...
来源: Laya3.0_api 发布时间: 20231115
...获取预制体脚本组件,及调用脚本里的函数 父容器调用 getComponent() 直接说没有这个类 2020-09-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20200909
...5542998 赞同来自: 那导入的时候也是导成lh格式,然后通过getComponent去获得里面的粒子ShuriKenParticle3D对吧? 2018-03-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 qq595542998 相关问题 unity导出粒...
来源: Laya_社区 发布时间: 20180329
MeshCollder 无法跟随父物体缩放 meshSprite3D.getChildAt(0).getComponent(Laya.PhysicsCollider).colliderShape.scale = new Laya.Vector3(3, 1, 3); 2019-05-21 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什...
来源: Laya_社区 发布时间: 20190521
...碰撞器就获取不到了,一直报空 (this.owner as Laya.Sprite3D).getComponent(Laya.PhysicsCollider) as Laya.PhysicsCollider;log里面也没有这个碰撞组件的信息,只有刚体和脚本的 但是把刚体去掉以后再导出,代码再去获取这个物体身上的碰撞器就...
来源: Laya_社区 发布时间: 20200927
...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf normalizedViewportPointToRay off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once recoverRenderContext3D removeAllLayers remov...
来源: Laya3.0_api 发布时间: 20231115
[LayaAirIDE3]spine播放指定动画报错 this.walkSp.getComponent(Laya.Spine2DRenderNode).play("zou_lu_dai_ji", true);walksp(Laya.Sprite)上有一个spine动画,但是用以上代码播放的时候,就报错 附件 : --> 2025-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20250908