大约有 610 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
...吃一个医疗包,血量增加1 this.hero.hp++; // 设置最大血量不超过10 if(this.hero.hp > 10)this.hero.hp = 10; // 隐藏道具 role.visible = false; } if(role.hp > 0){ // 如果未死亡 ,则播放爆炸动画 role.playAction("hit"); } else{ if(role.isBullet){ // 如果是子弹...
来源: Laya_社区 发布时间: 20170525
... Distance | | | angularLimitSpring | Angular X Y Z Limit Spring | 当物体超过约束的极限角度时,施加弹簧扭矩以使物体向后旋转。 | | angularDamp | Angular X Y Z Limit Damper | 阻尼系数,弹簧扭矩的减小与约束旋转速度成正比。设置一个大于零的值可...
来源: Laya2.0_文档 发布时间: 20210715
... Distance | | | angularLimitSpring | Angular X Y Z Limit Spring | 当物体超过约束的极限角度时,施加弹簧扭矩以使物体向后旋转。 | | angularDamp | Angular X Y Z Limit Damper | 阻尼系数,弹簧扭矩的减小与约束旋转速度成正比。设置一个大于零的值可...
来源: Laya2.0_文档 发布时间: 20210714
... Distance | | | angularLimitSpring | Angular X Y Z Limit Spring | 当物体超过约束的极限角度时,施加弹簧扭矩以使物体向后旋转。 | | angularDamp | Angular X Y Z Limit Damper | 阻尼系数,弹簧扭矩的减小与约束旋转速度成正比。设置一个大于零的值可...
来源: Laya2.0_文档 发布时间: 20210715
...b2_maxPolygonVertices,这数值默认是8,所以点的数量不建议超过8个,也不能小于3个 Hierarchy ColliderBase PolygonCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled...
来源: Laya3.0_api 发布时间: 20231115
...oxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度时有,会产生瞬间反转 Parameters out: Vector3 欧拉角值 Returns void identity identity(): void Defined in laya/maths/Quaternion.ts:451 设置四元数为单位算数 Returns void invert invert(out: Qu...
来源: Laya3.0_api 发布时间: 20231115
...tics(); if (stats.usageRate > 0.9) { console.warn("图集空间使用率超过 90%,考虑增加 maxLargeTextures"); } }); 2.7 清理与销毁 清理未使用的纹理 //接口 cleanupUnusedTextures(forceClean: boolean = false): number 清理引用计数为 0 的纹理,释放图集空间。适...
来源: Laya3.0_文档 发布时间: 20260131
...oxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度时有,会产生瞬间反转 Parameters out: Vector3 欧拉角值 Returns void identity identity(): void Defined in laya/d3/math/Quaternion.ts:451 设置四元数为单位算数 Returns void invert invert(out: ...
来源: Laya3.0_api 发布时间: 20231102
...oxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度时有,会产生瞬间反转 Parameters out: ConchVector3 欧拉角值 Returns void identity identity(): void Defined in laya/d3/math/Native/ConchQuaternion.ts:608 设置四元数为单位算数 Returns void in...
来源: Laya3.0_api 发布时间: 20231102
...is.bgTexture = null; //最大右边距离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; //当前地板上面的物品集合 this.itemList = ; Floor.__super.call(this); } //事件名称 //超...
来源: Laya_社区 发布时间: 20160803