Hi, I am trying to understand how ShootableWeaponAmmoBinding works. Specifically, if I fire a weapon and it consumes one ammo in the m_ClipRemaining of a ShootableWeapon, how does ShootableWeaponAmmoBinding know to update the AmmoData attribute of the Item?
Just to be clear, it is working fine. However, I'm trying to create a UI hook such that I can show the clip remaining as a UI text object, but I'm not sure where ShootableWeaponAmmoBinding is being notified that the ammo was consumed.
Just to be clear, it is working fine. However, I'm trying to create a UI hook such that I can show the clip remaining as a UI text object, but I'm not sure where ShootableWeaponAmmoBinding is being notified that the ammo was consumed.