UxrFirearmWeapon.HasMagAttached Method
Checks whether there is a magazine attached that fires shots using the given trigger. It may or may not have ammo.
Namespace: UltimateXR.Mechanics.Weapons
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public bool HasMagAttached(
int triggerIndex
)
Parameters
- triggerIndex
- Type: System.Int32
Index in _triggers
Return Value
Type: Boolean
Whether there is a magazine attached
See Also
Reference
UxrFirearmWeapon Class
UltimateXR.Mechanics.Weapons Namespace