大约有 2 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0019 秒)
...nt | Laya.ColliderBase, self?: Laya.ColliderBase, contact?: any): void { //模拟角色离开毒气区域,触发逃脱奖励 if (other.label == "poison") { // 此处省略逃脱奖励的逻辑 console.log("离开毒气区域:" + self.label + "获得逃脱奖励,生命值+10"); } console.log("o...
来源: Laya3.0_文档 发布时间: 20251010
...nt | Laya.ColliderBase, self?: Laya.ColliderBase, contact?: any): void { //模拟角色离开毒气区域,触发逃脱奖励 if (other.label == "poison") { // 此处省略逃脱奖励的逻辑 console.log("离开毒气区域:" + self.label + "获得逃脱奖励,生命值+10"); } console.log("o...
来源: Laya3.0_文档 发布时间: 20251010