UxrFirearmWeapon.SetAmmoLeft Method
Sets the ammo left in the attached magazine.
Namespace: UltimateXR.Mechanics.Weapons
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public void SetAmmoLeft(
int triggerIndex,
int ammo
)
Parameters
- triggerIndex
- Type: System.Int32
Index in _triggers - ammo
- Type: System.Int32
New ammo
See Also
Reference
UxrFirearmWeapon Class
UltimateXR.Mechanics.Weapons Namespace