当被子弹击中时

物品
Both Server and Client
Both Mobile and PC
可触发:
可被瞄准的实体组件

在被武器击中时触发

声明

event OnHitByBullet(weapon entity<Weapon>, hitPosition Vector3)
go

参数

名称 类型 描述
武器 Weapon 武器
击中位置 Vector3 击中部位的世界坐标