当玩家进入触发器

关卡物件
Both Server and Client
Both Mobile and PC
可触发:
触发器
死亡或无敌触发器
竞速模式检查点组件
终点组件

在玩家进入触发器时触发

声明

event OnPlayerEnter(player entity<Player>)
go

参数

名称 类型 描述
玩家 Player 进入触发器的玩家