RandomObjectMuzzleEffect MonoBehaviour
Overview
The RandomObjectMuzzleEffect module enables one out of a pool of game objects each shot, and then disables it again after a brief wait.
Inspector

Properties
| Name | Type | Description |
|---|---|---|
| Start Active | Boolean | Should this module register as the active muzzle effect immediately on start. |
| Activation Mode | Dropdown | How does module activation work. Options are: Component means the component will be enabled / disabled - use this when you have multiple modules on an object such as the firearm root. GameObject activates / deactivates the object - use this for attachments where you want the geo to appear/disappear. |
| Muzzle Flashes | GameObject Array | The muzzle flash game objects. |
| Muzzle Flash Duration | Float | The duration the flash should remain active. Keep this longer for objects with particle effects. |
| Firing Sounds | AudioClip Array | The audio clips to use when firing. Chosen at random. |