大约有 110 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0032 秒)
...信 灰太狼 赞同来自: 碰撞后产生三个参数: onTriggerEnter(other: any, self: any, contact: any): void { console.log(other); //被碰撞的对象 console.log(self); //自己 console.log(contact); //连接点对象, contact.getHitInfo(); //这里有碰撞点的信息 } 官方文档...
来源: Laya_社区 发布时间: 20181026
...ameThirdScriptError Scene: the .lh file root type must be Scene,please use other function to load this file.;at api readFile success callback function Error: Scene: the .lh file root type must be Scene,please use other function to load this file. 2018-01-15 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20180115
... * 此方法为虚方法,使用时重写覆盖即可 */ onTriggerEnter(other) { console.log("triggerEnter"); } /** * 持续触发时执行 * 此方法为虚方法,使用时重写覆盖即可 */ onTriggerStay(other) { console.log("triggerStay"); } /** * 结束触发时执行 * 此方法为虚方...
来源: Laya2.0_文档 发布时间: 20210715
... * 此方法为虚方法,使用时重写覆盖即可 */ onTriggerEnter(other: PhysicsComponent): void { console.log("triggerEnter"); } /** * 持续触发时执行 * 此方法为虚方法,使用时重写覆盖即可 */ onTriggerStay(other: PhysicsComponent): void { console.log("triggerStay"); } /...
来源: Laya2.0_文档 发布时间: 20210714
...tion.ts:122 克隆。 Returns ShaderVariant 着色器变种。 equal equal(other: ShaderVariant): boolean Defined in laya/d3/shader/ShaderVariantCollection.ts:101 是否相等。 Parameters other: ShaderVariant 其它着色器变种 Returns boolean 是否相等。 setValue setValue(shader: Shader3D,...
来源: Laya3.0_api 发布时间: 20231102
...报错,错误为"Scene: the .lh file root type must be Scene,please use other function to load this file."或"Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file." 跟了一下,发现__proto.onAsynLoaded这个function接收的参数data在layaIDE中被...
来源: Laya_社区 发布时间: 20180222
...rdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file. at Sprite3D.__proto.onAsynLoaded ...
来源: Laya_社区 发布时间: 20180228
...ner.removeSelf(); Laya.Pool.recover("flyCat", this.owner) } onTriggerEnter(other: any, self: any, contact: any): void { if (other.label === "cloud") { Laya.Tween.clearAll(this._sp) let effect: Laya.Animation = Laya.Pool.getItemByCreateFun("deathEffect", this.createEffect, this); effect.pos(this._sp....
来源: Laya_社区 发布时间: 20191019
...信小游戏报错 Scene: the .lh file root type must be Scene,please use other function to load this file.;at api readFile success callback function Error: Scene: the .lh file root type must be Scene,please use other function to load this file. at Scene.__proto.onAsynLoaded (http://127.0.0.1:62629/...
来源: Laya_社区 发布时间: 20180323
...number 包涵:1,相交:2,不相交:0 equalsBoundFrustum equalsBoundFrustum(other: BoundFrustum): boolean Defined in laya/d3/math/BoundFrustum.ts:222 判断是否与其他锥截体相等。 Parameters other: BoundFrustum 锥截体。 Returns boolean equalsObj equalsObj(obj: any): boolean Defined in l...
来源: Laya3.0_api 发布时间: 20231115