當被子彈擊中時

物品
伺服器端與客戶端
可在 Mobile 端和 PC 端使用
擁有者:
可被瞄準的實體組件

被武器擊中時觸發

聲明

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

參數

名稱 類型 描述
武器 Weapon 武器
命中位置 Vector3 擊中部位的世界座標