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

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

321. [LayaNative3]游戏致命bug,WEB 性能是 native 性能 35倍 ,请求紧急修复 [ 50%]

...aya.Handler.create(this, () => {                 var label=this.owner.getChildByName("time") as Laya.Label;                 label.text=((Date.now() - nt) / 1000 + "秒");             })         );  测试环境H5:0.094秒   测试环境native:0.697秒 附件 : --> ...

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

322. bug,ChainCollider.points第二次设置,会报错! [ 50%]

...s._started) { this._started = true; this.enabled = true; } var ground=this.owner.getChildByName("ground");            //****新增代码*****, ground.addComponent(Laya.ChainCollider);                       //****新增代码*****, this._chains=ground.getComponent(Laya.ChainCo...

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

323. box2d 弹性异常 [ 50%]

...ther: any, self: any, contact: any): void { let rig: Laya.RigidBody = this.owner.getComponent(Laya.RigidBody) as Laya.RigidBody; let velocity = rig.linearVelocity; console.log(velocity) } 你把初始弹射改成一个球,你就会发现,这个球,他的水平速度x 小于一定值后就变...

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

324. laya.d3.component.animation.CameraAnimations [ 50%]

...ad-only] 获取播放器当前动画的节点数量。 KeyframeAnimations owner : Sprite3D[read-only] 获取所属Sprite3D节点。 Component3D player : AnimationPlayer[read-only] 获取动画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D templet : Anim...

来源: laya_api 发布时间: 20170603

325. laya.ui.Widget [ 50%]

... left : Number表示距左边的距离(以像素为单位)。Widget owner : Node [只读]获取所属Node节点。 Component  right : Number表示距右边的距离(以像素为单位)。Widget  top : Number表示距顶边的距离(以像素为单位)。WidgetPublic Methods Hide In...

来源: Laya2.0_api 发布时间: 20190513

326. laya.d3.component.animation.RigidAnimations [ 50%]

...ad-only] 获取播放器当前动画的节点数量。 KeyframeAnimations owner : ComponentNode[read-only] 获取所属Sprite3D节点。 Component3D player : AnimationPlayer[read-only] 获取动画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D  templet...

来源: laya_api 发布时间: 20170929

327. laya.physics.joint.PulleyJoint [ 50%]

...接的节点,是相对于otherBody的左上角位置偏移PulleyJoint owner : Node [只读]获取所属Node节点。 Component  ratio : Number = 1.5[首次设置有效]两刚体移动距离比率PulleyJoint  selfAnchor : Array[首次设置有效]自身刚体链接点,是相对于自身刚...

来源: Laya2.0_api 发布时间: 20190513

328. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 49%]

...or3(0,0,0);     }     onStart(){         this.scene = this.owner.parent;         this.text = this.scene.parent.getChildByName("ceshi");         this.camera = this.scene.getChildByName("camera");     }     onUpdate(){         let touchCount = this.scene...

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

329. laya.d3.component.animation.SkinAnimations [ 49%]

...ad-only] 获取播放器当前动画的节点数量。 KeyframeAnimations owner : ComponentNode[read-only] 获取所属Sprite3D节点。 Component3D player : AnimationPlayer[read-only] 获取动画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D  templet...

来源: laya_api 发布时间: 20170929

330. laya.physics.joint.DistanceJoint [ 49%]

...的连接刚体,可不设置,默认为左上角空刚体DistanceJoint owner : Node [只读]获取所属Node节点。 Component  selfAnchor : Array[首次设置有效]自身刚体链接点,是相对于自身刚体的左上角位置偏移DistanceJoint  selfBody : RigidBody[首次设置有...

来源: Laya2.0_api 发布时间: 20190513