UxrFirearmWeapon.IsLoaded Method

Checks whether a trigger is in a loaded state, meaning it is ready to shoot if pressed and there is any ammo left.

Namespace: UltimateXR.Mechanics.Weapons
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public bool IsLoaded(
	int triggerIndex
)

Parameters

 

triggerIndex
Type: System.Int32
Index in _triggers

Return Value

Type: Boolean
Whether it is ready to shoot

See Also

Reference

UxrFirearmWeapon Class
UltimateXR.Mechanics.Weapons Namespace